class CCodeLine

Contains a portion of code generated by a dynamic system definition.

Public Methods

[more] CCodeLine(const std::string & strLine, const CDSLibComponent* pGenerator, const CCodeSection* pContainer)
Constructor.
[more]virtual ~CCodeLine()
Destructor
[more]const CCodeSection* Container() const
Returns the code section that contains this object
[more]const CDSLibComponent* Generator() const
Returns the object that generated this one
[more]virtual bool IsSection() const
Returns false, meaning that this object is not an instance of CCodeSection
[more]bool NewLine() const
Returns if the portion of code ends with a new line character
[more]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.
o 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

ovirtual ~CCodeLine()
Destructor

oconst CCodeSection* Container() const
Returns the code section that contains this object

oconst CDSLibComponent* Generator() const
Returns the object that generated this one

ovirtual bool IsSection() const
Returns false, meaning that this object is not an instance of CCodeSection

obool NewLine() const
Returns if the portion of code ends with a new line character

oconst 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++.