WSF
wizard::AutoComplete::Entry Struct Reference

#include <AutoComplete.hpp>

Collaboration diagram for wizard::AutoComplete::Entry:

Public Types

enum  EntryType {
  cNONE , cUNEXPANDED , cWORD , cSEQUENCE ,
  cALTERNATE , cTYPE_CHANGE
}
enum  Flags { cNAMED_WORD = 1 , cTYPE_REF_WORD = 2 , cBLOCK_PLACEHOLDER = 4 }

Public Member Functions

 Entry ()
 Entry (const std::string &aText, bool aWordIsPattern)
 Entry (const Entry &aRhs)
Entryoperator= (const Entry &)=default
 ~Entry ()
void Set (const std::string &aText)
void SetTypeRef (const WsfParseTypePath &aRefType, bool aIsNestedLookup)
void SetNameRef (const std::string &aRefType)
int GetWordCount () const

Public Attributes

EntryType mEntryType
std::string mWordText
WsfParseRulemReaderPtr
WsfParseSequencemParentCommandPtr
const WsfParseTypemCurrentTypeChangePtr
size_t mCommandWordIndex
std::vector< Entry * > mChildren
int mFlags
bool mComplete
bool mWordIsPattern
int mWordCount
WsfParseTypePath mRefType
bool mNestedLookup
std::string mRuleName

Member Enumeration Documentation

◆ EntryType

Enumerator
cNONE 
cUNEXPANDED 
cWORD 
cSEQUENCE 
cALTERNATE 
cTYPE_CHANGE 

◆ Flags

Enumerator
cNAMED_WORD 
cTYPE_REF_WORD 
cBLOCK_PLACEHOLDER 

Constructor & Destructor Documentation

◆ Entry() [1/3]

◆ Entry() [2/3]

wizard::AutoComplete::Entry::Entry ( const std::string & aText,
bool aWordIsPattern = false )

◆ Entry() [3/3]

◆ ~Entry()

wizard::AutoComplete::Entry::~Entry ( )

References mChildren.

Member Function Documentation

◆ GetWordCount()

int wizard::AutoComplete::Entry::GetWordCount ( ) const

◆ operator=()

Entry & wizard::AutoComplete::Entry::operator= ( const Entry & )
default

References Entry().

◆ Set()

void wizard::AutoComplete::Entry::Set ( const std::string & aText)

◆ SetNameRef()

void wizard::AutoComplete::Entry::SetNameRef ( const std::string & aRefType)

◆ SetTypeRef()

void wizard::AutoComplete::Entry::SetTypeRef ( const WsfParseTypePath & aRefType,
bool aIsNestedLookup )

Member Data Documentation

◆ mChildren

◆ mCommandWordIndex

size_t wizard::AutoComplete::Entry::mCommandWordIndex

◆ mComplete

◆ mCurrentTypeChangePtr

const WsfParseType* wizard::AutoComplete::Entry::mCurrentTypeChangePtr

◆ mEntryType

◆ mFlags

◆ mNestedLookup

bool wizard::AutoComplete::Entry::mNestedLookup

◆ mParentCommandPtr

◆ mReaderPtr

◆ mRefType

◆ mRuleName

std::string wizard::AutoComplete::Entry::mRuleName

◆ mWordCount

◆ mWordIsPattern

◆ mWordText


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