Puma Reference Manual Puma::InstantiationCandidate Class Reference



Puma::InstantiationCandidate Class Reference

#include <InstantiationCandidate.h>

List of all members.

Public Member Functions

 InstantiationCandidate ()
 ~InstantiationCandidate ()
CTree * instantiate (CCInstantiation *inst)
InstantiationParser & getParser ()
void reset ()
void initialize (ErrorSink *e)
void initialize (CTree *p, CObjectInfo *o)
void initialize (CTree *p, CObjectInfo *o, CTemplateInfo *t, ErrorSink *e=0)
void addArgument (CTree *)
void addDeducedArg (DeducedArgument *)
void addInstantiationArg (DeducedArgument *)
void forgetDeducedArgs ()
void TemplateInstance (CTemplateInstance *)
bool deduceArguments (bool real_inst)
bool deduceArgumentsFromFctCall (unsigned skip=0, bool exact_match=false, bool partial_ordering=false)
bool match (InstantiationCandidate &)
int compare (InstantiationCandidate &)
bool canBeInstantiated ()
CObjectInfo * ObjectInfo () const
CTemplateInfo * TemplateInfo () const
CTree * PointOfInstantiation () const
CStructure * InstanceScope () const
CTemplateInstance * TemplateInstance () const
CStructure * createInstanceScope ()
unsigned Arguments () const
unsigned DeducedArgs () const
unsigned InstantiationArgs () const
CTree * Argument (unsigned) const
DeducedArgument * DeducedArg (unsigned) const
DeducedArgument * InstantiationArg (unsigned) const
int getPosition (CTemplateParamInfo *) const
Token * getPointOfInstantiationToken (CTree *point_of_inst=0) const
void printInstantiationHeader () const
void printInstantiationErrorHeader (Token *token) const
void printArgumentList (std::ostream &out, bool print_default_args=false) const
bool maxInstDepthReached ()
bool detectedDelayedParseNode () const

Constructor & Destructor Documentation

Puma::InstantiationCandidate::InstantiationCandidate ( )
Puma::InstantiationCandidate::~InstantiationCandidate ( )

Member Function Documentation

void Puma::InstantiationCandidate::addArgument ( CTree *  a)
inline
void Puma::InstantiationCandidate::addDeducedArg ( DeducedArgument *  darg)
inline
void Puma::InstantiationCandidate::addInstantiationArg ( DeducedArgument *  darg)
inline
CTree * Puma::InstantiationCandidate::Argument ( unsigned  i) const
inline
unsigned Puma::InstantiationCandidate::Arguments ( ) const
inline
bool Puma::InstantiationCandidate::canBeInstantiated ( )
int Puma::InstantiationCandidate::compare ( InstantiationCandidate &  )
CStructure* Puma::InstantiationCandidate::createInstanceScope ( )
bool Puma::InstantiationCandidate::deduceArguments ( bool  real_inst)
bool Puma::InstantiationCandidate::deduceArgumentsFromFctCall ( unsigned  skip = 0,
bool  exact_match = false,
bool  partial_ordering = false 
)
DeducedArgument * Puma::InstantiationCandidate::DeducedArg ( unsigned  i) const
inline
unsigned Puma::InstantiationCandidate::DeducedArgs ( ) const
inline
bool Puma::InstantiationCandidate::detectedDelayedParseNode ( ) const
inline
void Puma::InstantiationCandidate::forgetDeducedArgs ( )
inline
InstantiationParser& Puma::InstantiationCandidate::getParser ( )
Token* Puma::InstantiationCandidate::getPointOfInstantiationToken ( CTree *  point_of_inst = 0) const
int Puma::InstantiationCandidate::getPosition ( CTemplateParamInfo *  ) const
void Puma::InstantiationCandidate::initialize ( ErrorSink *  e)
void Puma::InstantiationCandidate::initialize ( CTree *  p,
CObjectInfo *  o 
)
void Puma::InstantiationCandidate::initialize ( CTree *  p,
CObjectInfo *  o,
CTemplateInfo *  t,
ErrorSink *  e = 0 
)
CStructure * Puma::InstantiationCandidate::InstanceScope ( ) const
inline
CTree* Puma::InstantiationCandidate::instantiate ( CCInstantiation *  inst)
DeducedArgument * Puma::InstantiationCandidate::InstantiationArg ( unsigned  i) const
inline
unsigned Puma::InstantiationCandidate::InstantiationArgs ( ) const
inline
bool Puma::InstantiationCandidate::match ( InstantiationCandidate &  )
bool Puma::InstantiationCandidate::maxInstDepthReached ( )
CObjectInfo * Puma::InstantiationCandidate::ObjectInfo ( ) const
inline
CTree * Puma::InstantiationCandidate::PointOfInstantiation ( ) const
inline
void Puma::InstantiationCandidate::printArgumentList ( std::ostream &  out,
bool  print_default_args = false 
) const
void Puma::InstantiationCandidate::printInstantiationErrorHeader ( Token *  token) const
void Puma::InstantiationCandidate::printInstantiationHeader ( ) const
void Puma::InstantiationCandidate::reset ( )
CTemplateInfo * Puma::InstantiationCandidate::TemplateInfo ( ) const
inline
void Puma::InstantiationCandidate::TemplateInstance ( CTemplateInstance *  )
CTemplateInstance * Puma::InstantiationCandidate::TemplateInstance ( ) const
inline



Puma Reference Manual. Created on Sun Jul 1 2012.