Poco::CppParser

class TypeDef

File Information

Library: CppParser
Package: SymbolTable
Header: Poco/CppParser/TypeDef.h

Description

This class represents a type definition (typedef).

Inheritance

Direct Base Classes: Decl

All Base Classes: Decl, Symbol

Member Summary

Member Functions: baseType, kind

Inherited Functions: addDocumentation, attrs, declaration, 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

TypeDef

TypeDef(
    const std::string & decl,
    NameSpace * pNameSpace
);

Creates the TypeDef.

Destructor

~TypeDef virtual

~TypeDef();

Destroys the TypeDef.

Member Functions

baseType

std::string baseType() const;

Returns the underlying base type.

kind

Symbol::Kind kind() const;