ADTF  3.18.2
ddlextdeclaration.h
Go to the documentation of this file.
1 
7 #ifndef _DDLEXT_DECLARATION_H_INCLUDED_
8 #define _DDLEXT_DECLARATION_H_INCLUDED_
9 
10 namespace adtf_ddl
11 {
12 
17  class cDDLExtDeclaration : public cDDL
18  {
19  public:
24 
31 
37 
42 
43  tResult Accept(IDDLVisitor *poVisitor);
44 
45  const A_UTILS_NS::cString& GetName() const;
46 
47  bool IsInitialized() const;
48 
55  tResult Create(const A_UTILS_NS::cString& strKey, const A_UTILS_NS::cString& strValue);
56 
62 
66  void SetKey(const A_UTILS_NS::cString& strKey);
67 
73 
77  void SetValue(const A_UTILS_NS::cString& strValue);
78 
79  private:
80  A_UTILS_NS::cString m_strKey;
81  A_UTILS_NS::cString m_strValue;
82 
83  bool m_bInitFlag;
84  };
85 
86 } // namespace adtf_ddl
87 
88 #endif // _DDLEXT_DECLARATION_H_INCLUDED_
Abstract base class/interface for Visitor design-pattern.
Representation of an external declaration inside the header of a DDL description.
const A_UTILS_NS::cString & GetName() const
Getter for the name of the representation object.
cDDLExtDeclaration(const A_UTILS_NS::cString &strKey, const A_UTILS_NS::cString &strValue)
CTOR.
cDDLExtDeclaration(cDDLExtDeclaration &oExtDecl)
Copy CTOR.
A_UTILS_NS::cString GetKey() const
Getter for the key.
A_UTILS_NS::cString GetValue() const
Getter for the value.
tResult Create(const A_UTILS_NS::cString &strKey, const A_UTILS_NS::cString &strValue)
Creation method to fill the object with data.
bool IsInitialized() const
Getter for the initialization flag.
void SetValue(const A_UTILS_NS::cString &strValue)
Setter for the Value.
virtual ~cDDLExtDeclaration()
DTOR.
cDDLExtDeclaration()
Default CTOR.
tResult Accept(IDDLVisitor *poVisitor)
Acceptance method for Visitor design-pattern.
void SetKey(const A_UTILS_NS::cString &strKey)
Setter for the key.
Namespace for the mainpage_pkg_ddl.