File Information
Library: CppParser
Package: SymbolTable
Header: Poco/CppParser/EnumValue.h
Description
This class represents an enumeration value inside an enum declaration.
Inheritance
Direct Base Classes: Symbol
All Base Classes: Symbol
Member Summary
Member Functions: kind, toString, value
Inherited Functions: addDocumentation, attrs, extractName, fullName, getAccess, getAttributeList, getAttributes, getDocumentation, getFile, getLibrary, getLineNumber, getOrder, getPackage, hasAttr, id, isIdent, isPrivate, isProtected, isPublic, kind, name, nameSpace, setAccess, setAttributeList, setAttributes, setDocumentation, setFile, setLibrary, setLineNumber, setOrder, setPackage, toString
Constructors
EnumValue
EnumValue(
const std::string & name,
const std::string & value,
Enum * pEnum
);
Creates the EnumValue, using the name and a value, which may be empty.
Destructor
~EnumValue
virtual ~EnumValue();
Destroys the EnumValue.
Member Functions
kind
Symbol::Kind kind() const;
toString
std::string toString() const;
See also: Poco::CppParser::Symbol::toString()
value
const std::string & value() const;
Returns the value, which may be empty.