MAK Data Logger API Documentation for DIS
datatypeRep.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 #include "omtReader.h"
9 #include <vlutil/vlString.h>
10 #include <sstream>
11 
12 #define MAKE_STRING( msg ) ( ((std::ostringstream&) \
13  (std::ostringstream() << msg)).str() )
14 
20 {
21 public:
22 
24  virtual const char* datatype() const = 0;
25 
31  virtual DtString stringRep(const void* ptr, int* size = 0) const = 0;
32 
38  virtual std::vector<char> valueFromStringRep(const DtString& stringRep) const = 0;
39 };
40 
41 

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)