Stores pulsar parameters as uninterpreted text.
More...
#include <TextParameters.h>
|
Parameters * | clone () const |
| Return a new, copy constructed instance of self.
|
|
bool | equals (const Parameters *that) const |
| Return true if *this == *that.
|
|
void | load (FILE *) |
| Load from an open stream.
|
|
void | unload (FILE *) const |
| Unload to an open stream.
|
|
std::string | get_name () const |
| Return the pulsar name.
|
|
void | set_text (const std::string &t) |
| Set the text.
|
|
std::string | get_value (const std::string &keyword) const |
| Retrieve a string from the text.
|
|
template<typename T > |
bool | get_value (T &value, const std::string &keyword, bool exception=true) const |
| Retrieve a value from the text, return true if found. More...
|
|
template<typename T > |
T | get (const std::string &keyword) const |
| Return a value from the text, throw exeception if not found.
|
|
void | load (const std::string &filename) |
| Load from the named file.
|
|
void | unload (const std::string &filename) const |
| Unload to the named file.
|
|
| Able () |
| Default constructor.
|
|
| Able (const Able &) |
| Copy constructor.
|
|
Able & | operator= (const Able &) |
| Assignment operator.
|
|
virtual | ~Able () |
| Destructor.
|
|
unsigned | get_reference_count () const |
| Returns the number of references there are to this.
|
|
| HeapTracked () |
| Default constructor.
|
|
| HeapTracked (const HeapTracked &) |
| Copy constructor.
|
|
HeapTracked & | operator= (const HeapTracked &) |
| Assignment operator.
|
|
virtual | ~HeapTracked () |
| Destructor.
|
|
bool | __is_on_heap () const |
| Return true if this instance is found in heap addresses.
|
|
|
void | parse_rows () const |
|
Handle * | __reference (bool active) const |
| Add the address of a reference to this object. More...
|
|
void | __dereference (bool auto_delete=true) const |
| Remove the address of a reference to this object. More...
|
|
|
std::string | text |
|
std::vector< Row > | rows |
|
|
static void | children (std::vector< Reference::To< Parameters > > &) |
| Factory helper creates a vector of pointers to derived class instances.
|
|
static size_t | get_instance_count () |
| Returns the current number instances in existence.
|
|
static void * | operator new (size_t size, void *ptr=0) |
| Records the addresses of new instances allocated on the heap.
|
|
static void | operator delete (void *location, void *ptr) |
| Placement delete overload to match the placement new overload.
|
|
static void | operator delete (void *location) |
| Regular delete overload.
|
|
static size_t | get_heap_queue_size () |
| Return the number of heap addresses awaiting processing.
|
|
static bool | verbose = 0 |
| Verbosity flag.
|
|
Stores pulsar parameters as uninterpreted text.
◆ get_value()
template<typename T >
bool Pulsar::TextParameters::get_value |
( |
T & |
value, |
|
|
const std::string & |
keyword, |
|
|
bool |
exception = true |
|
) |
| const |
Retrieve a value from the text, return true if found.
Retrieve a value from the text.
References get_value().
The documentation for this class was generated from the following files: