PUMA Library Reference Manual
Puma::CCNameLookup Class Reference

#include <CCNameLookup.h>

Public Types

enum  Flags {
  IS_TYPE = 1,
  IS_NAMESPACE = 2,
  ASS_NS_LOOKUP = 4,
  NO_MEMBER_FCTS = 8,
  NO_MEMBER_ALIAS = 16,
  IS_FRIEND = 32
}
 

Public Member Functions

 CCNameLookup (ErrorSink &, CStructure *curr_scope=0, bool allow_inst=true)
 
void lookup (const DString &, CStructure *, bool=false, bool=false, int=0)
 
void lookup (CT_SimpleName *, CStructure *, bool=false, bool=false)
 
void lookupType (const DString &, CStructure *, bool=false, bool=false, int=0)
 
void lookupType (CT_SimpleName *, CStructure *, bool=false, bool=false)
 
void lookupNamespace (const DString &, CStructure *, int=0)
 
void lookupNamespace (CT_SimpleName *, CStructure *)
 
void lookupInAssNs (const DString &, CStructure *, int=0)
 
void lookupInAssNs (CT_SimpleName *, CStructure *)
 
void lookupOpName (const DString &, CStructure *, int=0)
 
void lookupOpName (CT_SimpleName *, CStructure *)
 
void lookupFunction (const DString &, CStructure *, int=0)
 
void lookupFunction (CT_SimpleName *, CStructure *)
 
void lookupFriendClass (const DString &, CStructure *, int=0)
 
void lookupFriendClass (CT_SimpleName *, CStructure *)
 
unsigned Objects () const
 
CObjectInfoObject (unsigned=0) const
 
void reset (CStructure *curr_scope=0, bool allow_inst=true)
 

Member Enumeration Documentation

◆ Flags

Enumerator
IS_TYPE 
IS_NAMESPACE 
ASS_NS_LOOKUP 
NO_MEMBER_FCTS 
NO_MEMBER_ALIAS 
IS_FRIEND 

Constructor & Destructor Documentation

◆ CCNameLookup()

Puma::CCNameLookup::CCNameLookup ( ErrorSink ,
CStructure curr_scope = 0,
bool  allow_inst = true 
)

Member Function Documentation

◆ lookup() [1/2]

void Puma::CCNameLookup::lookup ( const DString sn,
CStructure scope,
bool  nested = false,
bool  base_usings = false,
int  p = 0 
)
inline

◆ lookup() [2/2]

void Puma::CCNameLookup::lookup ( CT_SimpleName ,
CStructure ,
bool  = false,
bool  = false 
)

◆ lookupFriendClass() [1/2]

void Puma::CCNameLookup::lookupFriendClass ( const DString sn,
CStructure scope,
int  p = 0 
)
inline

◆ lookupFriendClass() [2/2]

void Puma::CCNameLookup::lookupFriendClass ( CT_SimpleName sn,
CStructure scope 
)
inline

◆ lookupFunction() [1/2]

void Puma::CCNameLookup::lookupFunction ( const DString sn,
CStructure scope,
int  p = 0 
)
inline

◆ lookupFunction() [2/2]

void Puma::CCNameLookup::lookupFunction ( CT_SimpleName sn,
CStructure scope 
)
inline

◆ lookupInAssNs() [1/2]

void Puma::CCNameLookup::lookupInAssNs ( const DString sn,
CStructure scope,
int  p = 0 
)
inline

◆ lookupInAssNs() [2/2]

void Puma::CCNameLookup::lookupInAssNs ( CT_SimpleName sn,
CStructure scope 
)
inline

◆ lookupNamespace() [1/2]

void Puma::CCNameLookup::lookupNamespace ( const DString sn,
CStructure scope,
int  p = 0 
)
inline

◆ lookupNamespace() [2/2]

void Puma::CCNameLookup::lookupNamespace ( CT_SimpleName sn,
CStructure scope 
)
inline

◆ lookupOpName() [1/2]

void Puma::CCNameLookup::lookupOpName ( const DString sn,
CStructure scope,
int  p = 0 
)
inline

◆ lookupOpName() [2/2]

void Puma::CCNameLookup::lookupOpName ( CT_SimpleName sn,
CStructure scope 
)
inline

◆ lookupType() [1/2]

void Puma::CCNameLookup::lookupType ( const DString sn,
CStructure scope,
bool  nested = false,
bool  base_usings = false,
int  p = 0 
)
inline

◆ lookupType() [2/2]

void Puma::CCNameLookup::lookupType ( CT_SimpleName sn,
CStructure scope,
bool  nested = false,
bool  base_usings = false 
)
inline

◆ Object()

CObjectInfo * Puma::CCNameLookup::Object ( unsigned  i = 0) const
inline

◆ Objects()

unsigned Puma::CCNameLookup::Objects ( ) const
inline

◆ reset()

void Puma::CCNameLookup::reset ( CStructure curr_scope = 0,
bool  allow_inst = true 
)
inline