Contains a portion of code generated by a dynamic system definition.
Public Methods
-
CCodeLine(const std::string & strLine, const CDSLibComponent* pGenerator, const CCodeSection* pContainer)
- Constructor.
-
virtual ~CCodeLine()
- Destructor
-
const CCodeSection* Container() const
- Returns the code section that contains this object
-
const CDSLibComponent* Generator() const
- Returns the object that generated this one
-
virtual bool IsSection() const
- Returns false, meaning that this object is not an instance of CCodeSection
-
bool NewLine() const
- Returns if the portion of code ends with a new line character
-
const std::string& String() const
- Returns the portion of code
Documentation
Contains a portion of code generated by a dynamic system definition.
It usually corresponds to a line ending with a '\n' character, but also
parts of the same line generated by different objects will be splitted
in different CCodeLine objects.
CCodeLine(const std::string & strLine, const CDSLibComponent* pGenerator, const CCodeSection* pContainer)
- Constructor.
- Parameters:
- strContent - Content of the line of code
pGenerator - Object that generated this one
pContainer - Code section containing this object
virtual ~CCodeLine()
- Destructor
const CCodeSection* Container() const
- Returns the code section that contains this object
const CDSLibComponent* Generator() const
- Returns the object that generated this one
virtual bool IsSection() const
- Returns false, meaning that this object is not an instance of
CCodeSection
bool NewLine() const
- Returns if the portion of code ends with a new line character
const std::string& String() const
- Returns the portion of code
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.