|
The Vish Visualization Shell 0.3
Vish
|
#include <elementary/memcore/stringlist.hpp>
Public Member Functions | |
| template<typename... Arguments> | |
| void | addString (const string &Value, Arguments... parameters) |
| Recursive handling of parameter pack. | |
| string | collapse (const string &delimiter) const |
| Collapse a list of strings to a single string. | |
| bool | contains (const string &s) const |
| Check if a certain string is contained here. | |
| StringList () | |
| Construct empty string list. | |
| StringList (const string &path, char delimiter) | |
| Construct from some string by splitting up using the giving delimiter. | |
| StringList (const string &s) | |
| Construct string list with one entry. | |
| StringList (const string &s0, const string &s1) | |
| Construct string list with two entries. | |
| StringList (const string &s0, const string &s1, const string &s2) | |
| Construct string list with three entries. | |
| StringList (const StringList &SL) | |
| Construct empty string list. | |
Public Member Functions inherited from MemCore::ReferenceBase< StringList > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< StringList, StringList > &PossibleSelf) const noexcept |
| Check if this object is identical to the one used by the given pointer. | |
| void | mkAutoDestructive () |
| Marks this object as being automatically destructed, e.g. | |
| refcount_t | refcount () const noexcept |
| The strong reference count. | |
| ReferenceBase (StringList *that) noexcept | |
| Constructor, initializes reference counter to zero. | |
| const auto & | self () const |
| Return weak pointer to the object self. | |
| refcount_t | wrefcount () const noexcept |
| The weak reference count. | |
Additional Inherited Members | |
Public Types inherited from MemCore::ReferenceBase< StringList > | |
| using | reference_domain_t = StringList |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< StringList, StringList > |
| Type for a pointer to this object itself. | |
Protected Member Functions inherited from MemCore::ReferenceBase< StringList > | |
| virtual void | extremeUnction () |
| A virtual function that will be called just before the object is destroyed. | |
| ReferenceBase & | operator= (const ReferenceBase &R) |
| Protected assignment operator (should not be called). | |
| void | suicide () |
| Delete this. | |
| virtual | ~ReferenceBase () |
| Virtual destructor. | |
A list of strings.
It behaves like a std::list of strings, but can be managed through RefPtr's. Multiple entries are possible.