WSF
WsfParseValue Class Reference

#include <WsfParseRule.hpp>

Inheritance diagram for WsfParseValue:
Collaboration diagram for WsfParseValue:

Public Member Functions

 WsfParseValue (WsfParseRuleMemory &aMem, const std::string &aName)
void Initialize (int aSequence) override
 ~WsfParseValue () override=default
WsfParseValueTypeGetType () override
 If the rule is also a type, return the type.
Public Member Functions inherited from WsfParseNamedRule
 WsfParseNamedRule (WsfParseRuleMemory &aMem)
 WsfParseNamedRule (WsfParseRuleMemory &aMem, const std::string &aName, WsfParseRule *aRulePtr)
 ~WsfParseNamedRule () override
bool InitializeInputsOutputs ()
WsfParseStructFindStruct (const std::string &aRuleName)
WsfParseNamedRuleFind (const std::string &aRuleName)
WsfParseNamedRuleFindImmediate (const std::string &aRuleName)
WsfParseValueFindValue (const std::string &aTypeName)
bool HasNestedRules () const
WsfParseRuleDictionaryGetNestedRules () override
WsfParseRuleDictionaryGetNested ()
bool Read (WsfParser &aParser, WsfParseNode *&aNode) override
bool ReadRange (WsfParser &aParser, UtTextDocumentRange &aRange, WsfParseNode *&aNode, bool aCreateNode) override
void SetDefinition (WsfParseRule *aRulePtr)
std::string GetFullName () const
WsfParseRuleGetDefinition () const
WsfParseRule *& GetDefinition ()
std::vector< WsfParseRule * > GetSequence () override
WsfParseNamedRuleGetContext () const override
WsfParseRuleGetPassthrough () override
std::string GetRuleDescription () override
WsfParseValueGetRuleValue ()
bool IsPartValueRule ()
void Swap (WsfParseNamedRule &aRhs)
Public Member Functions inherited from WsfParseRule
 WsfParseRule (WsfParseRuleMemory &aMem, RuleType aType)
virtual ~WsfParseRule ()=default
 WsfParseRule (const WsfParseRule &)=default
void Swap (WsfParseRule &aRhs)
RuleType Type () const
 Returns an enumeration specifying the derived type of the reader.
virtual void Undo (WsfParser &aParser)
virtual void Resolve (WsfParser &aParser, WsfParseNode *aNodePtr)
virtual std::vector< WsfParseRule * > GetAlternates ()
WsfParseStructGetContainingStruct () const
WsfParseStructGetStruct ()
WsfParseNamedRuleGetEntryType ()
WsfParseNamedRuleGetInputType ()
WsfParseNamedRuleGetOutputType ()
WsfParseNamedRuleGetBestContext ()
WsfParseNamedRuleGetVarContext ()
bool IsNamedRule () const
int GetReaderFlags () const
WsfParseRuleGetSubordinateRule () const
void SetSubordinateRule (WsfParseRule *aRulePtr)

Public Attributes

WsfParseValueTypemTypePtr
bool mIsEnumeration
Public Attributes inherited from WsfParseNamedRule
WsfParseNamedRulemContextParent
 The rule inside of which this rule is nested.
std::string mName
std::string mInputTypeName
WsfParseNamedRulemInputTypePtr
std::string mOutputTypeName
WsfParseNamedRulemOutputTypePtr
std::vector< WsfParseRule * > mReferencingRules
Public Attributes inherited from WsfParseRule
RuleType mRuleType
int mReaderFlags
int mUserId
WsfParseRulemParentRulePtr
 Pointer to the parent rule. This should be valid for unnamed rules.

Additional Inherited Members

Public Types inherited from WsfParseRule
enum  RuleType {
  cNAMED_RULE , cVALUE , cSTRUCT , cSEQUENCE ,
  cALTERNATE , cRECURRENCE , cRULE_REFERENCE , cREAL ,
  cINT , cSTRING , cLINE_STRING , cQUOTED_STRING ,
  cLITERAL , cDELIMITED , cTYPE_LOAD , cTYPE_COMMAND ,
  cPASSTHROUGH , cSCRIPT_BLOCK
}
enum  ReaderFlags {
  cCAN_RESOLVE = 1 , cCAN_UNDO = 2 , cIS_SINGLE_TOKEN = 4 , cIS_PASSTHROUGH = 8 ,
  cIS_VALUE_RULE = 0x10
}
Protected Attributes inherited from WsfParseNamedRule
WsfParseRuleDictionarymNestedRules
Protected Attributes inherited from WsfParseRule
WsfParseRulemSubordinateRulePtr

Constructor & Destructor Documentation

◆ WsfParseValue()

◆ ~WsfParseValue()

WsfParseValue::~WsfParseValue ( )
overridedefault

References GetType().

Member Function Documentation

◆ GetType()

WsfParseValueType * WsfParseValue::GetType ( )
overridevirtual

If the rule is also a type, return the type.

Reimplemented from WsfParseRule.

References mTypePtr.

Referenced by ~WsfParseValue().

◆ Initialize()

void WsfParseValue::Initialize ( int aSequence)
overridevirtual

Reimplemented from WsfParseNamedRule.

References WsfParseRule::Initialize().

Member Data Documentation

◆ mIsEnumeration

bool WsfParseValue::mIsEnumeration

◆ mTypePtr

WsfParseValueType* WsfParseValue::mTypePtr

Referenced by GetType(), and WsfParseValue().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved