NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | Private Member Functions | List of all members
AggregateDatum< C, slt > Class Template Reference

#include <aggregatedatum.h>

Inheritance diagram for AggregateDatum< C, slt >:
TypedDatum< slt > Datum

Public Member Functions

 AggregateDatum ()
 
 AggregateDatum (const AggregateDatum< C, slt > &d)
 
 AggregateDatum (const C &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
 
template<>
void pprint (std::ostream &out) const
 
template<>
void list (std::ostream &out, std::string prefix, int line) const
 
template<>
void print (std::ostream &out) const
 
template<>
void pprint (std::ostream &out) const
 
template<>
void list (std::ostream &out, std::string prefix, int line) const
 
template<>
void print (std::ostream &out) const
 
template<>
void print (std::ostream &) const
 
template<>
void list (std::ostream &, std::string, int) const
 
template<>
void pprint (std::ostream &) const
 
template<>
void print (std::ostream &) const
 
template<>
void pprint (std::ostream &) const
 
template<>
void list (std::ostream &, std::string, int) const
 
template<>
void pprint (std::ostream &out) const
 
template<>
void pprint (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)
 

Static Public Member Functions

static void * operator new (size_t size)
 
static void operator delete (void *p, size_t size)
 

Protected Member Functions

template<>
sli::pool memory (sizeof(ProcedureDatum), 10240, 1)
 
template<>
sli::pool memory (sizeof(AggregateDatum< TokenArray,&SLIInterpreter::Litproceduretype >), 10240, 1)
 
template<>
sli::pool memory
 
template<>
sli::pool memory
 
template<>
sli::pool memory (sizeof(AggregateDatum< std::string,&SLIInterpreter::Stringtype >), 100, 1)
 
template<>
sli::pool memory
 
- 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)
 

Static Protected Attributes

static sli::pool memory
 

Private Member Functions

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

Additional Inherited Members

- 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_
 

Constructor & Destructor Documentation

template<class C, SLIType * slt>
AggregateDatum< C, slt >::AggregateDatum ( )
inline
template<class C, SLIType * slt>
AggregateDatum< C, slt >::AggregateDatum ( const AggregateDatum< C, slt > &  d)
inline
template<class C, SLIType * slt>
AggregateDatum< C, slt >::AggregateDatum ( const C &  c)
inline
template<class C, SLIType * slt>
virtual AggregateDatum< C, slt >::~AggregateDatum ( )
inlinevirtual

Member Function Documentation

template<class C, SLIType * slt>
virtual Datum* AggregateDatum< C, slt >::clone ( void  ) const
inlineprivatevirtual

Virtual copy constructor.

Use this function to lazily copy a datum.

Implements Datum.

Reimplemented in LiteralDatum, NameDatum, SymbolDatum, and ParserDatum.

template<class C, SLIType * slt>
bool AggregateDatum< C, slt >::equals ( const Datum dat) const
inlinevirtual

Reimplemented from Datum.

template<class C, SLIType * slt>
virtual void AggregateDatum< C, slt >::info ( std::ostream &  out) const
inlinevirtual

Reimplemented from Datum.

template<class C, SLIType * slt>
virtual void AggregateDatum< C, slt >::input_form ( std::ostream &  out) const
inlinevirtual

Reimplemented from Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::list ( std::ostream &  ,
std::string  ,
int   
) const
virtual

Reimplemented from Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Litproceduretype >::list ( std::ostream &  ,
std::string  ,
int   
) const
virtual

Reimplemented from Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::list ( std::ostream &  out,
std::string  prefix,
int  line 
) const
virtual

Reimplemented from Datum.

template<class C , SLIType * slt>
void AggregateDatum< C, slt >::list ( std::ostream &  out,
std::string  prefix,
int  l 
) const
virtual
template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Litproceduretype >::list ( std::ostream &  out,
std::string  prefix,
int  line 
) const
virtual

Reimplemented from Datum.

template<>
sli::pool AggregateDatum< std::string,&SLIInterpreter::Stringtype >::memory ( sizeof(AggregateDatum< std::string,&SLIInterpreter::Stringtype >)  ,
100  ,
 
)
protected
template<>
sli::pool AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::memory ( sizeof(ProcedureDatum ,
10240  ,
 
)
protected
template<>
sli::pool AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::memory ( )
protected
template<>
sli::pool AggregateDatum< std::string,&SLIInterpreter::Stringtype >::memory ( )
protected
template<class C, SLIType * slt>
static void AggregateDatum< C, slt >::operator delete ( void *  p,
size_t  size 
)
inlinestatic
template<class C, SLIType * slt>
static void* AggregateDatum< C, slt >::operator new ( size_t  size)
inlinestatic
template<>
void AggregateDatum< std::string,&SLIInterpreter::Stringtype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::pprint ( std::ostream &  ) const
virtual

Implements Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Litproceduretype >::pprint ( std::ostream &  ) const
virtual

Implements Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

template<>
void AggregateDatum< std::string,&SLIInterpreter::Stringtype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

template<class C , SLIType * slt>
void AggregateDatum< C, slt >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

Reimplemented in LiteralDatum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Litproceduretype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::print ( std::ostream &  ) const
virtual

Implements Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Litproceduretype >::print ( std::ostream &  ) const
virtual

Implements Datum.

template<class C , SLIType * slt>
void AggregateDatum< C, slt >::print ( std::ostream &  out) const
virtual
template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Proceduretype >::print ( std::ostream &  out) const
virtual

Implements Datum.

template<>
void AggregateDatum< TokenArray,&SLIInterpreter::Litproceduretype >::print ( std::ostream &  out) const
virtual

Implements Datum.

Member Data Documentation

template<class C, SLIType * slt>
sli::pool GIDCollectionDatum::memory
staticprotected

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