cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
svlSampleText Class Reference

#include <svlSampleText.h>

Inheritance diagram for svlSampleText:
svlSample mtsGenericObject cmnGenericObject

Public Member Functions

 svlSampleText ()
 
 svlSampleText (const svlSampleText &other)
 
svlSampleTextoperator= (const svlSampleText &other)
 
svlSampleGetNewInstance () const
 
svlStreamType GetType () const
 
int SetSize (const svlSample *sample)
 
int SetSize (const svlSample &sample)
 
int CopyOf (const svlSample *sample)
 
int CopyOf (const svlSample &sample)
 
bool IsInitialized () const
 
unsigned char * GetUCharPointer ()
 
const unsigned char * GetUCharPointer () const
 
unsigned int GetDataSize () const
 
void SerializeRaw (std::ostream &outputStream) const
 
void DeSerializeRaw (std::istream &inputStream)
 
 svlSampleText (const std::string &text)
 
void SetText (const std::string &text)
 
std::string & GetStringRef ()
 
const std::string & GetStringRef () const
 
char * GetCharPointer ()
 
const char * GetCharPointer () const
 
unsigned int GetSize () const
 
unsigned int GetLength () const
 
- Public Member Functions inherited from svlSample
 svlSample ()
 
 svlSample (const svlSample &other)
 
svlSampleoperator= (const svlSample &other)
 
virtual ~svlSample ()
 
void SetTimestamp (double ts)
 
double GetTimestamp () const
 
void SetEncoder (const std::string &codec, const int parameter)
 
void GetEncoder (std::string &codec, int &parameter) const
 
- Public Member Functions inherited from mtsGenericObject
 mtsGenericObject (void)
 
 mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid)
 
 mtsGenericObject (const mtsGenericObject &other)
 
virtual ~mtsGenericObject (void)
 
bool SetTimestampIfAutomatic (double timestamp)
 
virtual void ToStream (std::ostream &outputStream) const
 
virtual void ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const
 
virtual bool FromStreamRaw (std::istream &inputStream, const char delimiter= ' ')
 
size_t ScalarNumber (void) const
 
bool ScalarNumberIsFixed (void) const
 
double Scalar (const size_t index) const throw (std::out_of_range)
 
std::string ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range)
 
- Public Member Functions inherited from cmnGenericObject
virtual ~cmnGenericObject (void)
 
virtual const
cmnClassServicesBase
Services (void) const =0
 
bool ReconstructFrom (const cmnGenericObject &other)
 
std::string ToString (void) const
 
virtual cmnLogger::StreamBufTypeGetLogMultiplexer (void) const
 
virtual double Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range)
 
virtual std::string ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const
 

Protected Attributes

std::string String
 

Additional Inherited Members

- Static Public Member Functions inherited from svlSample
static svlSampleGetNewFromType (svlStreamType type)
 

Constructor & Destructor Documentation

svlSampleText::svlSampleText ( )
svlSampleText::svlSampleText ( const svlSampleText other)
svlSampleText::svlSampleText ( const std::string &  text)

Member Function Documentation

int svlSampleText::CopyOf ( const svlSample sample)
virtual

Implements svlSample.

int svlSampleText::CopyOf ( const svlSample sample)
virtual

Implements svlSample.

void svlSampleText::DeSerializeRaw ( std::istream &  inputStream)
virtual

Binary deserialization

Implements svlSample.

char* svlSampleText::GetCharPointer ( )
const char* svlSampleText::GetCharPointer ( ) const
unsigned int svlSampleText::GetDataSize ( ) const
virtual

Implements svlSample.

unsigned int svlSampleText::GetLength ( ) const
svlSample* svlSampleText::GetNewInstance ( ) const
virtual

Implements svlSample.

unsigned int svlSampleText::GetSize ( ) const
std::string& svlSampleText::GetStringRef ( )
const std::string& svlSampleText::GetStringRef ( ) const
svlStreamType svlSampleText::GetType ( ) const
virtual

Implements svlSample.

unsigned char* svlSampleText::GetUCharPointer ( )
virtual

Implements svlSample.

const unsigned char* svlSampleText::GetUCharPointer ( ) const
virtual

Implements svlSample.

bool svlSampleText::IsInitialized ( ) const
virtual

Reimplemented from svlSample.

svlSampleText& svlSampleText::operator= ( const svlSampleText other)
void svlSampleText::SerializeRaw ( std::ostream &  outputStream) const
virtual

Binary serialization

Implements svlSample.

int svlSampleText::SetSize ( const svlSample sample)
virtual

Implements svlSample.

int svlSampleText::SetSize ( const svlSample sample)
virtual

Implements svlSample.

void svlSampleText::SetText ( const std::string &  text)

Member Data Documentation

std::string svlSampleText::String
protected

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