BIE::TypedBuffer_Bool Class Reference

Boolean buffer. More...

#include <TypedBuffer.h>

Inheritance diagram for BIE::TypedBuffer_Bool:
Collaboration diagram for BIE::TypedBuffer_Bool:

List of all members.

Public Member Functions

 TypedBuffer_Bool ()
 Create a new buffer for holding a boolean.
void setBoolValue (bool)
 Sets the value of a bool buffer.
bool getBoolValue ()
 Returns the value from a buffer with type bool.
string toString ()
 Returns a string representation of the typed buffer.

Friends

class boost::serialization::access


Detailed Description

Boolean buffer.

Constructor & Destructor Documentation

BIE::TypedBuffer_Bool::TypedBuffer_Bool (  ) 

Create a new buffer for holding a boolean.

The buffer will have no value until one is set.


Member Function Documentation

void BIE::TypedBuffer_Bool::setBoolValue ( bool   )  [virtual]

Sets the value of a bool buffer.

Will throw an exception if the buffer's type is not bool.

Reimplemented from BIE::TypedBuffer.

bool BIE::TypedBuffer_Bool::getBoolValue (  )  [virtual]

Returns the value from a buffer with type bool.

The buffer must contain a value.

Reimplemented from BIE::TypedBuffer.


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

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen