FQName Struct Reference

#include <FQName.hxx>


Public Member Functions

bool operator< (const FQName &) const
bool operator> (const FQName &) const
bool operator== (const FQName &) const
FQNameoperator= (const FQName &)
bool operator!= (const FQName &_fqname) const
bool isInitialized ()
 FQName ()
 FQName (const FQName &that)
 Copy constructor.
 FQName (const std::string &_iface, const std::string &_ident)
 Initialize from separate strings.
 FQName (const std::string &nm)
 Initialize from a single string, where the interface and ident components are separated by FQName::sep.
std::string asString () const
int operator< (FQName &rhs)

Data Fields

std::string iface
std::string ident

Static Public Attributes

static const char sep = ':'
 Separator to use when displaying a fully qualified name.
static const char LocalBindingSep = '.'
 Separator to use when making a local binding of a name that is being imported.


Detailed Description

Definition at line 50 of file FQName.hxx.


Constructor & Destructor Documentation

FQName::FQName (  )  [inline]

Definition at line 80 of file FQName.hxx.

FQName::FQName ( const FQName that  )  [inline]

Copy constructor.

Definition at line 85 of file FQName.hxx.

References ident, and iface.

FQName::FQName ( const std::string &  _iface,
const std::string &  _ident 
) [inline]

Initialize from separate strings.

Definition at line 92 of file FQName.hxx.

References ident, and iface.

FQName::FQName ( const std::string &  nm  ) 

Initialize from a single string, where the interface and ident components are separated by FQName::sep.

Definition at line 73 of file FQName.cxx.

References ident, iface, and sep.


Member Function Documentation

std::string FQName::asString (  )  const

Definition at line 82 of file FQName.cxx.

References ident, iface, and sep.

Referenced by fixWithFqns(), operator<(), operator<<(), and xmangle().

bool FQName::isInitialized (  )  [inline]

Definition at line 75 of file FQName.hxx.

References ident.

bool FQName::operator!= ( const FQName _fqname  )  const [inline]

Definition at line 70 of file FQName.hxx.

int FQName::operator< ( FQName rhs  )  [inline]

Definition at line 104 of file FQName.hxx.

References asString().

bool FQName::operator< ( const FQName  )  const

Definition at line 46 of file FQName.cxx.

References ident, and iface.

FQName & FQName::operator= ( const FQName  ) 

Definition at line 66 of file FQName.cxx.

References ident, and iface.

bool FQName::operator== ( const FQName  )  const

Definition at line 60 of file FQName.cxx.

References ident, and iface.

bool FQName::operator> ( const FQName  )  const

Definition at line 53 of file FQName.cxx.

References ident, and iface.


Field Documentation

std::string FQName::ident

Definition at line 52 of file FQName.hxx.

Referenced by asString(), cl_convert_ast(), cl_heapify(), FQName(), isInitialized(), operator<(), operator=(), operator==(), operator>(), providing(), and refize().

std::string FQName::iface

Definition at line 51 of file FQName.hxx.

Referenced by asString(), FQName(), operator<(), operator=(), operator==(), operator>(), and providing().

const char FQName::LocalBindingSep = '.' [static]

Separator to use when making a local binding of a name that is being imported.

This should be the same character that is used in any environment-like combining form, which is usually '.'

Definition at line 63 of file FQName.hxx.

Referenced by aliasPublicBindings(), resolve(), useIFGamma(), and useIFInsts().

const char FQName::sep = ':' [static]

Separator to use when displaying a fully qualified name.

This must not be a legal identifier character.

Definition at line 57 of file FQName.hxx.

Referenced by asString(), and FQName().


The documentation for this struct was generated from the following files:
Generated on Sat Feb 4 23:59:29 2012 for BitC Compiler by  doxygen 1.4.7