BIE::TypedBuffer_Int Class Reference

Integer buffer. More...

#include <TypedBuffer.h>

Inheritance diagram for BIE::TypedBuffer_Int:
Collaboration diagram for BIE::TypedBuffer_Int:

List of all members.

Public Member Functions

 TypedBuffer_Int ()
 Create a new buffer for holding an integer.
void setIntValue (int)
 Sets the value of an integer string buffer.
int getIntValue ()
 Returns the value from a buffer with type integer.
string toString ()
 Returns a string representation of the typed buffer.

Friends

class boost::serialization::access


Detailed Description

Integer buffer.

Constructor & Destructor Documentation

BIE::TypedBuffer_Int::TypedBuffer_Int (  ) 

Create a new buffer for holding an integer.

The buffer will have no value until one is set.


Member Function Documentation

void BIE::TypedBuffer_Int::setIntValue ( int   )  [virtual]

Sets the value of an integer string buffer.

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

Reimplemented from BIE::TypedBuffer.

int BIE::TypedBuffer_Int::getIntValue (  )  [virtual]

Returns the value from a buffer with type integer.

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