CLI  2.9
SyntaxTag Class Reference

Syntax tag element class. More...

#include <syntax_tag.h>

Inheritance diagram for SyntaxTag:

Public Member Functions

 SyntaxTag (const bool B_Hollow)
 Constructor. More...
 
virtual ~SyntaxTag (void)
 Destructor. More...
 
virtual const tk::String GetKeyword (void) const
 String identifier accessor. More...
 
const bool GetbHollow (void) const
 Retrieves the hollow attribute. More...
 
- Public Member Functions inherited from SyntaxNode
 SyntaxNode (const char *const STR_Keyword, const Help &CLI_Help)
 Constructor. More...
 
virtual ~SyntaxNode (void)
 Destructor. More...
 
ElementAddElement (Element *const PCLI_Element)
 Possible element addition. More...
 
const bool RemoveElement (const Element *const PCLI_Element, const bool B_AutoDelete)
 Element removal. More...
 
virtual const bool FindElements (Element::List &CLI_ExactList, Element::List &CLI_NearList, const char *const STR_Keyword) const
 Sub-elements search. More...
 
- Public Member Functions inherited from Element
 Element (const char *const STR_Keyword, const Help &STR_Help)
 Constructor. More...
 
virtual ~Element (void)=0
 Destructor. More...
 
virtual const HelpGetHelp (void) const
 Element help accessor. More...
 
virtual void SetCli (Cli &CLI_Cli)
 Cli reference setting. More...
 
CliGetCli (void)
 Read-Write Cli reference accessor. More...
 
const CliGetCli (void) const
 Read-only Cli reference accessor. More...
 
ShellGetShell (void) const
 Shell reference accessor. More...
 
const OutputDeviceGetOutputStream (void) const
 Output stream reference accessor. More...
 
const OutputDeviceGetErrorStream (void) const
 Error stream reference accessor. More...
 
- Public Member Functions inherited from Object
virtual ~Object (void)=0
 Pure virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from Element
typedef tk::Queue< const Element * > List
 CLI element list type. More...
 
typedef tk::Map< const tk::String, const Element * > Map
 CLI element map type. More...
 
- Protected Member Functions inherited from Object
 Object (void)
 Default constructor only available to sub-classes. More...
 

Detailed Description

Syntax tag element class.

Definition at line 43 of file syntax_tag.h.

Constructor & Destructor Documentation

◆ SyntaxTag()

SyntaxTag::SyntaxTag ( const bool  B_Hollow)
explicit

Constructor.

Parameters
B_HollowHollow attribute.

◆ ~SyntaxTag()

virtual SyntaxTag::~SyntaxTag ( void  )
virtual

Destructor.

Member Function Documentation

◆ GetbHollow()

const bool SyntaxTag::GetbHollow ( void  ) const

Retrieves the hollow attribute.

Returns
true for hollow tag, false otherwise.

◆ GetKeyword()

virtual const tk::String SyntaxTag::GetKeyword ( void  ) const
virtual

String identifier accessor.

Returns
String identifier.

Reimplemented from Element.


The documentation for this class was generated from the following file: