NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Member Functions | List of all members
lockPTRDatum< D, slt > Class Template Reference

#include <lockptrdatum.h>

Inheritance diagram for lockPTRDatum< D, slt >:
lockPTR< D > TypedDatum< slt > Datum

Public Member Functions

 lockPTRDatum ()
 
 lockPTRDatum (const lockPTR< D > d)
 
 lockPTRDatum (D *d)
 
 lockPTRDatum (D &d)
 
 ~lockPTRDatum ()
 
void print (std::ostream &) const
 
void pprint (std::ostream &) const
 
void info (std::ostream &) const
 
bool equals (const Datum *) const
 
template<>
void pprint (std::ostream &out) const
 
template<>
void pprint (std::ostream &out) const
 
template<>
void pprint (std::ostream &out) const
 
template<>
void pprint (std::ostream &out) const
 
- Public Member Functions inherited from lockPTR< D >
 lockPTR (D *p=NULL)
 
 lockPTR (D &p_o)
 
 lockPTR (const lockPTR< D > &spd)
 
virtual ~lockPTR ()
 
lockPTR< D > operator= (const lockPTR< D > &spd)
 
lockPTR< D > operator= (D &s)
 
lockPTR< D > operator= (D const &s)
 
D * get (void)
 
D * get (void) const
 
D * operator-> () const
 
D * operator-> ()
 
D & operator* ()
 
const D & operator* () const
 
bool operator! () const
 < returns true if and only if obj->pointee == NULL More...
 
bool operator== (const lockPTR< D > &p) const
 
bool operator!= (const lockPTR< D > &p) const
 
bool valid (void) const
 < returns true if and only if obj->pointee != NULL More...
 
bool islocked (void) const
 
bool deletable (void) const
 
void lock (void) const
 
void unlock (void) const
 
void unlock (void)
 
size_t references (void) 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)
 

Private Member Functions

Datumclone (void) const
 Virtual copy constructor. More...
 
bool operator== (lockPTR< D > &)
 

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 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 D, SLIType * slt>
lockPTRDatum< D, slt >::lockPTRDatum ( )
inline
template<class D, SLIType * slt>
lockPTRDatum< D, slt >::lockPTRDatum ( const lockPTR< D >  d)
inline
template<class D, SLIType * slt>
lockPTRDatum< D, slt >::lockPTRDatum ( D *  d)
inline
template<class D, SLIType * slt>
lockPTRDatum< D, slt >::lockPTRDatum ( D &  d)
inline
template<class D, SLIType * slt>
lockPTRDatum< D, slt >::~lockPTRDatum ( )
inline

Member Function Documentation

template<class D, SLIType * slt>
Datum* lockPTRDatum< D, slt >::clone ( void  ) const
inlineprivatevirtual

Virtual copy constructor.

Use this function to lazily copy a datum.

Implements Datum.

template<class D , SLIType * slt>
bool lockPTRDatum< D, slt >::equals ( const Datum dat) const
virtual

Reimplemented from Datum.

References lockPTR< D >::operator==().

template<class D , SLIType * slt>
void lockPTRDatum< D, slt >::info ( std::ostream &  out) const
virtual

Reimplemented from Datum.

template<class D, SLIType * slt>
bool lockPTRDatum< D, slt >::operator== ( lockPTR< D > &  )
private
template<>
void lockPTRDatum< std::vector< long >,&SLIInterpreter::IntVectortype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

template<>
void lockPTRDatum< std::vector< double >,&SLIInterpreter::DoubleVectortype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

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

Implements Datum.

template<>
void lockPTRDatum< std::vector< long >,&SLIInterpreter::IntVectortype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

template<>
void lockPTRDatum< std::vector< double >,&SLIInterpreter::DoubleVectortype >::pprint ( std::ostream &  out) const
virtual

Implements Datum.

References nest::names::scientific.

template<class D , SLIType * slt>
void lockPTRDatum< D, slt >::print ( std::ostream &  out) const
virtual

Implements Datum.


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