NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Static Public Member Functions | Static Protected Attributes | Private Member Functions | List of all members
IteratorDatum Class Reference

#include <iteratordatum.h>

Inheritance diagram for IteratorDatum:
GenericDatum< IteratorState,&SLIInterpreter::Iteratortype > TypedDatum< slt > Datum

Public Member Functions

 IteratorDatum ()
 
 IteratorDatum (long start_s, long stop_s, long di_s)
 
 IteratorDatum (const IteratorDatum &d_s)
 
virtual ~IteratorDatum ()
 
void incr (void)
 
void decr (void)
 
long begin (void)
 
long end (void)
 
long pos (void)
 
long size (void)
 
bool operator== (const IteratorDatum &i) const
 
void print (std::ostream &out) const
 
void pprint (std::ostream &out) const
 
- Public Member Functions inherited from GenericDatum< IteratorState,&SLIInterpreter::Iteratortype >
 GenericDatum ()
 
 GenericDatum (const IteratorState &d_s)
 
 GenericDatum (const GenericDatum< IteratorState, slt > &gd)
 
virtual ~GenericDatum ()
 
const IteratorStateoperator= (const IteratorState &d_s)
 
const IteratorStateget (void) const
 
IteratorStateget (void)
 
IteratorStateget_lval ()
 
void print (std::ostream &o) const
 
void pprint (std::ostream &o) const
 
void info (std::ostream &out) const
 
bool equals (const Datum *dat) 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 ()
 
virtual void list (std::ostream &o, std::string prefix, int l) const
 
virtual void input_form (std::ostream &o) const
 
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)
 

Static Protected Attributes

static sli::pool memory
 

Private Member Functions

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

Additional Inherited Members

- 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 GenericDatum< IteratorState,&SLIInterpreter::Iteratortype >
IteratorState 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_
 

Constructor & Destructor Documentation

IteratorDatum::IteratorDatum ( )
inline
IteratorDatum::IteratorDatum ( long  start_s,
long  stop_s,
long  di_s 
)
inline
IteratorDatum::IteratorDatum ( const IteratorDatum d_s)
inline
virtual IteratorDatum::~IteratorDatum ( )
inlinevirtual

Member Function Documentation

long IteratorDatum::begin ( void  )
inline
Datum* IteratorDatum::clone ( void  ) const
inlineprivatevirtual

Virtual copy constructor.

Use this function to lazily copy a datum.

Reimplemented from GenericDatum< IteratorState,&SLIInterpreter::Iteratortype >.

References IteratorDatum().

void IteratorDatum::decr ( void  )
inline
long IteratorDatum::end ( void  )
inline
void IteratorDatum::incr ( void  )
inline
static void IteratorDatum::operator delete ( void *  p,
size_t  size 
)
inlinestatic
static void* IteratorDatum::operator new ( size_t  size)
inlinestatic
bool IteratorDatum::operator== ( const IteratorDatum i) const
inline
long IteratorDatum::pos ( void  )
inline
void IteratorDatum::pprint ( std::ostream &  out) const
inlinevirtual
void IteratorDatum::print ( std::ostream &  out) const
inlinevirtual

Implements Datum.

References Datum::gettypename().

long IteratorDatum::size ( void  )
inline

Member Data Documentation

sli::pool IteratorDatum::memory
staticprotected

Referenced by operator delete(), and operator new().


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