Poco::CppParser

class EnumValue

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

virtual ~EnumValue();

Destroys the EnumValue.

Member Functions

kind

Symbol::Kind kind() const;

toString virtual

std::string toString() const;

value inline

const std::string & value() const;

Returns the value, which may be empty.

Securely control IoT edge devices from anywhere   Connect a Device