![]() |
flux sdk
v01.02.02-3-g292b3a7
Embedded C++ SDK
|
#include <flxCoreProps.h>
Public Types | |
typedef std::vector< T >::iterator | iterator |
Public Member Functions | |
flxContainer () | |
auto | size () -> decltype(_vector.size()) |
void | push_back (T value) |
void | pop_back (void) |
void | insert (typename std::vector< T >::iterator it, T value) |
auto | back (void) -> decltype(_vector.back()) |
auto | front () -> decltype(_vector.front()) |
T & | at (size_t pos) |
auto | cbegin () -> decltype(_vector.cbegin()) |
auto | cend () -> decltype(_vector.cend()) |
auto | begin () -> decltype(_vector.begin()) |
auto | end () -> decltype(_vector.end()) |
auto | rbegin () -> decltype(_vector.rbegin()) |
auto | rend () -> decltype(_vector.rend()) |
auto | empty () -> decltype(_vector.empty()) |
iterator | erase (iterator pos) |
void | remove (T value) |
flxTypeID | getType (void) |
virtual bool | save (flxStorage *pStorage) |
virtual bool | restore (flxStorage *pStorage) |
![]() | |
flxObject () | |
virtual | ~flxObject () |
void | setParent (flxObject *parent) |
void | setParent (flxObject &parent) |
flxObject * | parent () |
void | setHidden (bool bHide=true) |
bool | hidden () |
void | setIsDirty (bool bDirty=true) |
bool | isDirty (void) |
virtual bool | onSave (flxStorageBlock *stBlk) |
virtual bool | save (flxStorage *pStorage) |
virtual bool | onRestore (flxStorageBlock *stBlk) |
virtual bool | restore (flxStorage *pStorage) |
virtual flxTypeID | getType (void) |
virtual bool | save (flxStorage *)=0 |
virtual bool | restore (flxStorage *)=0 |
![]() | |
_flxPropertyContainer () | |
void | addProperty (flxProperty *newProperty) |
void | addProperty (flxProperty &newProperty) |
void | removeProperty (flxProperty *rmProp) |
void | removeProperty (flxProperty &rmProp) |
flxPropertyList & | getProperties (void) |
uint | nProperties (void) |
bool | saveProperties (flxStorageBlock *stBlk) |
bool | restoreProperties (flxStorageBlock *stBlk) |
size_t | propertySaveSize () |
void | hideProperty (flxProperty &theProp) |
![]() | |
flxDescriptor () | |
void | setName (const char *new_name) |
Set the Name object - storing the pointer to the provided string No allocation is performed. If the previous name was allocated, it is freed. More... | |
void | setName (const char *new_name, const char *new_desc) |
Set the Name object and the Description for the object. Both strings are constants. More... | |
void | setName (char *new_name) |
Set the Name object, but makes a copy of the input string since the input is not const. If the previous name was allocated, it is freed. More... | |
const char * | name () |
Return a const char pointer to the name of the object. More... | |
std::string | name_ (void) |
Returns a std::string of the name of the object. More... | |
void | setDescription (const char *new_desc) |
Set the Description object - the input value is constant and not copied. If the previous description was allocated, it is freed. More... | |
void | setDescription (char *new_desc) |
Set the Description object - the input value is not constant and is copied. If the previous description was allocated, it is freed. More... | |
const char * | description () |
Return the constant C string pointer to the description of the object. More... | |
std::string | description_ (void) |
Return the description of the object as a std::string. More... | |
void | setTitle (const char *title) |
Set the Title object - the title is optional and is used mostly for UX or organizational purposes. The input value is constant and not copied. If the previous title was allocated, it is freed. More... | |
void | setTitleAlloc (char *new_title) |
Set the Title of the object , but make an explict copy of the provided string. More... | |
const char * | title (void) |
Return the C constant string pointer to the title of the object. More... | |
Static Public Member Functions | |
static flxTypeID | type (void) |
![]() | |
static flxTypeID | type (void) |
Protected Attributes | |
std::vector< T > | _vector |
![]() | |
const char * | _name |
bool | _nameAlloc |
const char * | _desc |
bool | _descAlloc |
const char * | _title |
bool | _titleAlloc |
typedef std::vector<T>::iterator flxContainer< T >::iterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from flxObject.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinestatic |
|
protected |