22 #ifndef _svlSampleText_h
23 #define _svlSampleText_h
54 void SetText(
const std::string & text);
55 std::string & GetStringRef();
56 const std::string & GetStringRef()
const;
57 char* GetCharPointer();
58 const char* GetCharPointer()
const;
59 unsigned int GetSize()
const;
60 unsigned int GetLength()
const;
68 #endif // _svlSampleText_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
virtual svlSample * GetNewInstance() const =0
svlStreamType
Definition: svlDefinitions.h:193
#define CMN_DECLARE_SERVICES_INSTANTIATION_EXPORT(className)
Definition: cmnClassRegisterMacros.h:209
Definition: svlSampleText.h:31
virtual svlStreamType GetType() const =0
virtual int CopyOf(const svlSample *sample)=0
std::string String
Definition: svlSampleText.h:63
virtual unsigned char * GetUCharPointer()=0
virtual unsigned int GetDataSize() const =0
svlSample & operator=(const svlSample &other)
virtual void SerializeRaw(std::ostream &outputStream) const =0
virtual int SetSize(const svlSample *sample)=0
virtual void DeSerializeRaw(std::istream &inputStream)=0
Macros to export the symbols of cisstStereoVision (in a Dll).
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
virtual bool IsInitialized() const
const int CMN_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:331
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76
Definition: svlSample.h:31