Representation of a stream inside a DDL description. More...
#include <ddlproperty.h>
Public Member Functions | |
cDDLProperty ()=default | |
Default CTOR. | |
cDDLProperty (const A_UTILS_NS::cString &strName, const A_UTILS_NS::cString &strType) | |
CTOR. | |
cDDLProperty (const cDDLProperty &oProperty)=default | |
tResult | Accept (IDDLVisitor *poVisitor) |
Acceptance method for Visitor design-pattern. | |
bool | IsInitialized () const |
Getter for the initialization flag. | |
int | GetCreationLevel () const |
Getter for the creation level. | |
const A_UTILS_NS::cString & | GetName () const |
Getter for the name. | |
const A_UTILS_NS::cString & | GetType () const |
Getter for the type. | |
![]() | |
virtual | ~cDDL () |
DTOR. | |
virtual bool | IsPredefined () const |
Getter for the predefinition flag. | |
virtual bool | IsOverwriteable () const |
Getter for the predefinition flag. | |
![]() | |
virtual | ~IDDL () |
Virtual DTOR. | |
Private Attributes | |
A_UTILS_NS::cString | m_strName |
A_UTILS_NS::cString | m_strType |
bool | m_bInitFlag = false |
Additional Inherited Members | |
![]() | |
enum | tag_MergeFlags { DDLMERGE_ForceOverwrite = 0x01 } |
Flags for Merging. More... | |
![]() | |
template<typename T> | |
static T * | DeleteChild (T *pvObj) |
Functor for use with std::transform() to delete all objects where the elements of a vector point at. | |
template<typename T> | |
static tResult | MoveChild (T *pvObj, const int nFrom, const int nTo) |
Method moves element within the list. | |
template<typename T> | |
static T * | Clone (T *pvObj) |
Functor for use with std::transform() to clone the objects where the elements of a vector point at. | |
template<typename T> | |
static T * | Ref (T *pvObj) |
Functor for use with std::transform() to ref the objects where the elements of a vector point at, this is for the Always_there. | |
static bool | IsEqual (IDDL *poLHS, IDDL *poRHS) |
Predicate to compare 2 DDL representation objects (for use with std::unique() ). | |
static bool | IsSorted (IDDL *poLHS, IDDL *poRHS) |
Sort predicate to compare to 2 DDL representation objects (for use with std::sort() ). | |
Representation of a stream inside a DDL description.
Definition at line 15 of file ddlproperty.h.
cDDLProperty | ( | const A_UTILS_NS::cString & | strName, |
const A_UTILS_NS::cString & | strType ) |
CTOR.
[in] | strName | - Name of the property |
[in] | strType | - Type of the property |
References cDDLProperty().
|
virtual |
Acceptance method for Visitor design-pattern.
[in] | poVisitor | - Pointer to Visitor instance |
ERR_POINTER | Null-pointer committed |
ERR_NOT_FOUND | Required node not found. |
ERR_NOT_INITIALIZED | The object was not or not correctly initialized |
Implements IDDL.
|
virtual |
Getter for the creation level.
Reimplemented from cDDL.
|
virtual |
const A_UTILS_NS::cString & GetType | ( | ) | const |
Getter for the type.
|
virtual |
Getter for the initialization flag.
true | The object was initialized correctly |
false | The object was not or not correctly initialized |
Reimplemented from cDDL.
|
private |
Definition at line 57 of file ddlproperty.h.
|
private |
Definition at line 55 of file ddlproperty.h.
|
private |
Definition at line 56 of file ddlproperty.h.