MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
boolDatatypeRep.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 
10 
11 #include "enum8DatatypeRep.h"
12 
13 #include <vlutil/vlString.h>
17 {
18 public:
19 
22 
24  virtual ~DtBoolDatatypeRep();
25 
28 
31 
33  virtual const char* datatype() const;
34 
36  virtual bool boolVal(const void*) const;
37 
39  virtual DtString stringRep(const void* ptr, int* size = 0) const;
40 
42  virtual double numberRep(const void* ptr, int* size = 0) const;
43 
45  virtual std::vector<char> valueFromStringRep(const DtString& stringRep) const;
46 
48  virtual int byteAlignment() const { return 1; };
49 };
50 
51 
52 
53 
virtual double numberRep(const void *ptr, int *size=0) const
#define DT_DLL_OMTREADER
Definition: omtReader.h:23
virtual const char * datatype() const
virtual int byteAlignment() const
The alignment size in bytes for this representation.
Definition: boolDatatypeRep.h:48
Definition: enum8DatatypeRep.h:14
DtEnum8DatatypeRep & operator=(const DtEnum8DatatypeRep &rhs)
Assignment Operator.
virtual DtString stringRep(const void *ptr, int *size=0) const
OMT Datatype of type Boolean.
Definition: boolDatatypeRep.h:16
virtual std::vector< char > valueFromStringRep(const DtString &stringRep) const

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)