MAK Data Logger API Documentation for DIS
intDatatypeRep.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 
9 #include "datatypeRep.h"
10 
11 #include <vlutil/vlString.h>
12 
17 {
18 public:
19 
21  DtIntDatatypeRep(bool unsign = false);
22 
24  virtual ~DtIntDatatypeRep();
25 
28 
30  DtIntDatatypeRep& operator=(const DtIntDatatypeRep& rhs);
31 
33  virtual const char* datatype() const;
34 
39  static int intVal(const void*);
40 
42  virtual unsigned unsignedIntVal(const void*) const;
43 
45  virtual DtString stringRep(const void* ptr, int* size = 0) const;
46 
48  virtual double numberRep(const void* ptr, int* size = 0) const;
49 
50  virtual void setUnsigned(bool);
51 
53  virtual std::vector<char> valueFromStringRep(const DtString& stringRep) const;
54 
55 protected:
57 };
58 
59 

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)