Representation of an external declaration inside the header of a DDL description.
More...
#include <ddlextdeclaration.h>
|
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 an external declaration inside the header of a DDL description.
Definition at line 17 of file ddlextdeclaration.h.
◆ cDDLExtDeclaration() [1/2]
CTOR.
- Parameters
-
[in] | strKey | - Name of the additional information |
[in] | strValue | - Value of the additional information |
◆ cDDLExtDeclaration() [2/2]
Copy CTOR.
- Parameters
-
[in] | oExtDecl | - Reference to ExtDeclaration object to copy |
References cDDLExtDeclaration().
◆ Accept()
Acceptance method for Visitor design-pattern.
- Parameters
-
[in] | poVisitor | - Pointer to Visitor instance |
- Return values
-
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.
◆ Create()
Creation method to fill the object with data.
- Parameters
-
[in] | strKey | - Name of the additional information |
[in] | strValue | - Value of the additional information |
- Return values
-
ERR_INVALID_ARG | Empty key committed |
◆ GetKey()
Getter for the key.
- Returns
- the key
◆ GetName()
Getter for the name of the representation object.
- Returns
- the name
Implements IDDL.
◆ GetValue()
Getter for the value.
- Returns
- the value
◆ IsInitialized()
bool IsInitialized |
( |
| ) |
const |
|
virtual |
Getter for the initialization flag.
- Return values
-
true | The object was initialized correctly |
false | The object was not or not correctly initialized |
Reimplemented from cDDL.
◆ m_bInitFlag
◆ m_strKey
◆ m_strValue