ADTF  3.18.2
ddlproperty.h
Go to the documentation of this file.
1 
7 #ifndef _DDL_PROPERTY_H_INCLUDED_
8 #define _DDL_PROPERTY_H_INCLUDED_
9 
10 namespace adtf_ddl
11 {
15  class cDDLProperty : public cDDL
16  {
17  public:
21  cDDLProperty() = default;
22 
29  const A_UTILS_NS::cString& strType);
30 
31 
32  cDDLProperty(const cDDLProperty& oProperty) = default;
33 
34 
35  tResult Accept(IDDLVisitor *poVisitor);
36 
37  bool IsInitialized() const;
38 
39  int GetCreationLevel() const;
40 
45  const A_UTILS_NS::cString& GetName() const;
46 
51  const A_UTILS_NS::cString& GetType() const;
52 
53 
54  private:
55  A_UTILS_NS::cString m_strName;
56  A_UTILS_NS::cString m_strType;
57  bool m_bInitFlag = false;
58  };
59 
60 } // namespace adtf_ddl
61 
62 #endif
Abstract base class/interface for Visitor design-pattern.
Representation of a stream inside a DDL description.
Definition: ddlproperty.h:16
const A_UTILS_NS::cString & GetName() const
Getter for the name.
cDDLProperty()=default
Default CTOR.
bool IsInitialized() const
Getter for the initialization flag.
int GetCreationLevel() const
Getter for the creation level.
tResult Accept(IDDLVisitor *poVisitor)
Acceptance method for Visitor design-pattern.
const A_UTILS_NS::cString & GetType() const
Getter for the type.
cDDLProperty(const A_UTILS_NS::cString &strName, const A_UTILS_NS::cString &strType)
CTOR.
Namespace for the mainpage_pkg_ddl.