NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Member Functions | List of all members
SymbolDatum Class Reference

#include <symboldatum.h>

Inheritance diagram for SymbolDatum:
AggregateDatum< Name,&SLIInterpreter::Symboltype > TypedDatum< slt > Name Datum

Public Member Functions

 SymbolDatum (const Name &n)
 
 SymbolDatum (const SymbolDatum &n)
 
 ~SymbolDatum ()
 
- Public Member Functions inherited from AggregateDatum< Name,&SLIInterpreter::Symboltype >
 AggregateDatum ()
 
 AggregateDatum (const AggregateDatum< Name, slt > &d)
 
 AggregateDatum (const Name &c)
 
virtual ~AggregateDatum ()
 
bool equals (const Datum *dat) const
 
virtual void print (std::ostream &out) const
 
virtual void pprint (std::ostream &out) const
 
virtual void list (std::ostream &out, std::string prefix, int l) const
 
virtual void input_form (std::ostream &out) const
 
virtual void info (std::ostream &out) const
 
- Public Member Functions inherited from TypedDatum< slt >
 TypedDatum (void)
 
- Public Member Functions inherited from Datum
virtual ~Datum ()
 
void addReference () const
 
void removeReference ()
 
size_t numReferences () const
 
bool is_executable () const
 
void set_executable ()
 
void unset_executable ()
 
const Namegettypename (void) const
 
bool isoftype (SLIType const &t) const
 
void execute (SLIInterpreter *i)
 
- Public Member Functions inherited from Name
 Name ()
 Create Name without value. More...
 
 Name (const char s[])
 
 Name (const std::string &s)
 
 Name (const Name &n)
 
const std::string & toString (void) const
 Return string represented by Name. More...
 
handle_t toIndex (void) const
 Return table index for Name object. More...
 
bool operator== (const Name &n) const
 
bool operator!= (const Name &n) const
 
bool operator< (const Name &n) const
 Non-alphabetic ordering of names. More...
 
void print_handle (std::ostream &) const
 

Private Member Functions

Datumclone (void) const
 Virtual copy constructor. More...
 

Additional Inherited Members

- Public Types inherited from Name
typedef unsigned int handle_t
 
- Static Public Member Functions inherited from AggregateDatum< Name,&SLIInterpreter::Symboltype >
static void * operator new (size_t size)
 
static void operator delete (void *p, size_t size)
 
- Static Public Member Functions inherited from Name
static bool lookup (const std::string &s)
 
static size_t capacity ()
 
static size_t num_handles ()
 
static void list_handles (std::ostream &)
 
static void list (std::ostream &)
 
static void info (std::ostream &)
 
- Protected Member Functions inherited from TypedDatum< slt >
 TypedDatum (const TypedDatum< slt > &d)
 
const TypedDatum< slt > & operator= (const TypedDatum< slt > &)
 
- Protected Member Functions inherited from Datum
 Datum ()
 
 Datum (const SLIType *t)
 
 Datum (const Datum &d)
 
- Protected Attributes inherited from Datum
const SLITypetype
 Pointer to type object. More...
 
const SLIFunctionaction
 Shortcut to the SLIType default action. More...
 
unsigned int reference_count_
 
bool executable_
 
- Static Protected Attributes inherited from AggregateDatum< Name,&SLIInterpreter::Symboltype >
static sli::pool memory
 

Constructor & Destructor Documentation

SymbolDatum::SymbolDatum ( const Name n)
inline

Referenced by clone().

SymbolDatum::SymbolDatum ( const SymbolDatum n)
inline
SymbolDatum::~SymbolDatum ( )
inline

Member Function Documentation

Datum* SymbolDatum::clone ( void  ) const
inlineprivatevirtual

Virtual copy constructor.

Use this function to lazily copy a datum.

Reimplemented from AggregateDatum< Name,&SLIInterpreter::Symboltype >.

References SymbolDatum().


The documentation for this class was generated from the following file: