NEST
2.6.0,not_revisioned_source_dir@0
|
#include <booldatum.h>
Public Member Functions | |
BoolDatum () | |
BoolDatum (const BoolDatum &val) | |
BoolDatum (bool val) | |
BoolDatum (const Name &) | |
operator bool () const | |
operator Name () const | |
operator std::string () const | |
void | input_form (std::ostream &) const |
void | print (std::ostream &) const |
void | pprint (std::ostream &) const |
Public Member Functions inherited from GenericDatum< bool,&SLIInterpreter::Booltype > | |
GenericDatum () | |
GenericDatum (const bool &d_s) | |
GenericDatum (const GenericDatum< bool, slt > &gd) | |
virtual | ~GenericDatum () |
const bool & | operator= (const bool &d_s) |
const bool & | get (void) const |
bool & | get (void) |
bool & | get_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 |
const Name & | gettypename (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 Public Attributes | |
static const char * | true_string ="true" |
static const char * | false_string ="false" |
Static Protected Attributes | |
static sli::pool | memory |
Private Member Functions | |
Datum * | clone (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< bool,&SLIInterpreter::Booltype > | |
bool | d |
Protected Attributes inherited from Datum | |
const SLIType * | type |
Pointer to type object. More... | |
const SLIFunction * | action |
Shortcut to the SLIType default action. More... | |
unsigned int | reference_count_ |
bool | executable_ |
|
inline |
Referenced by clone().
|
inline |
|
inline |
BoolDatum::BoolDatum | ( | const Name & | val | ) |
References GenericDatum< bool,&SLIInterpreter::Booltype >::d, and true_string.
|
inlineprivatevirtual |
Virtual copy constructor.
Use this function to lazily copy a datum.
Reimplemented from GenericDatum< bool,&SLIInterpreter::Booltype >.
References BoolDatum().
|
virtual |
|
inline |
|
static |
References nest::names::memory, and nest::names::p.
BoolDatum::operator Name | ( | ) | const |
References nest::names::d.
|
static |
References nest::names::memory.
BoolDatum::operator std::string | ( | ) | const |
References nest::names::d.
|
virtual |
Implements Datum.
References GenericDatum< bool,&SLIInterpreter::Booltype >::d, false_string, and true_string.
Referenced by input_form(), and pprint().
|
static |
Referenced by print().
|
staticprotected |
|
static |
Referenced by BoolDatum(), and print().