PUMA Library Reference Manual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Puma::DeducedArgument Struct Reference

#include <DeducedArgument.h>

+ Inheritance diagram for Puma::DeducedArgument:

Public Member Functions

 DeducedArgument (CTemplateParamInfo *, CTypeInfo *, CTree *=0, bool=false, bool=false)
 
 DeducedArgument (CTemplateParamInfo *, CConstant *, CTree *=0, bool=false, bool=false)
 
 DeducedArgument (CTemplateParamInfo *, long)
 
 ~DeducedArgument ()
 
bool operator== (const DeducedArgument &)
 
bool operator!= (const DeducedArgument &)
 
bool equals (const DeducedArgument &, bool matchTemplateParams=false)
 
CTypeInfoType () const
 
CConstantValue () const
 
CTemplateParamInfoTemplateParam () const
 
CTreeTemplateArg () const
 
bool isDefaultArg () const
 
bool isDirectArg () const
 
virtual void print (std::ostream &os) const
 Print the deduced argument, i.e. More...
 
void print (std::ostream &os, bool abs) const
 Print the deduced argument, i.e. More...
 
- Public Member Functions inherited from Puma::Printable
virtual ~Printable ()
 Destructor. More...
 

Public Attributes

CTypeInfotype
 
CConstantvalue
 
CTemplateParamInfoparam
 
CTreearg
 
bool del
 
bool default_arg
 
bool direct_arg
 

Constructor & Destructor Documentation

Puma::DeducedArgument::DeducedArgument ( CTemplateParamInfo ,
CTypeInfo ,
CTree = 0,
bool  = false,
bool  = false 
)
Puma::DeducedArgument::DeducedArgument ( CTemplateParamInfo ,
CConstant ,
CTree = 0,
bool  = false,
bool  = false 
)
Puma::DeducedArgument::DeducedArgument ( CTemplateParamInfo ,
long   
)
Puma::DeducedArgument::~DeducedArgument ( )

Member Function Documentation

bool Puma::DeducedArgument::equals ( const DeducedArgument ,
bool  matchTemplateParams = false 
)
bool Puma::DeducedArgument::isDefaultArg ( ) const
inline
bool Puma::DeducedArgument::isDirectArg ( ) const
inline
bool Puma::DeducedArgument::operator!= ( const DeducedArgument d)
inline
bool Puma::DeducedArgument::operator== ( const DeducedArgument d)
inline
virtual void Puma::DeducedArgument::print ( std::ostream &  os) const
virtual

Print the deduced argument, i.e.

the type or constant value.

Parameters
osThe output stream.

Implements Puma::Printable.

void Puma::DeducedArgument::print ( std::ostream &  os,
bool  abs 
) const

Print the deduced argument, i.e.

the type or constant value.

Parameters
osThe output stream.
absIf 'true' names are printed with absolute names (leading '::')
CTree * Puma::DeducedArgument::TemplateArg ( ) const
inline
CTemplateParamInfo * Puma::DeducedArgument::TemplateParam ( ) const
inline
CTypeInfo * Puma::DeducedArgument::Type ( ) const
inline
CConstant * Puma::DeducedArgument::Value ( ) const
inline

Member Data Documentation

CTree* Puma::DeducedArgument::arg
bool Puma::DeducedArgument::default_arg
bool Puma::DeducedArgument::del
bool Puma::DeducedArgument::direct_arg
CTemplateParamInfo* Puma::DeducedArgument::param
CTypeInfo* Puma::DeducedArgument::type
CConstant* Puma::DeducedArgument::value