00001 /******************************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *******************************************************************************/ 00007 #pragma once 00008 00009 00010 00011 #include "numberDatatypeRep.h" 00012 00013 #include <vlutil/vlString.h> 00014 00018 class DT_DLL_OMTREADER DtCharDatatypeRep : public DtNumberDatatypeRep 00019 { 00020 public: 00021 00023 DtCharDatatypeRep(); 00024 00026 virtual ~DtCharDatatypeRep(); 00027 00029 DtCharDatatypeRep(const DtCharDatatypeRep& orig); 00030 00032 DtCharDatatypeRep& operator=(const DtCharDatatypeRep& rhs); 00033 00035 virtual const char* datatype() const; 00036 00038 virtual int byteVal(const void*) const; 00039 00041 virtual DtString stringRep(const void* ptr, int* size = 0) const; 00042 00044 virtual double numberRep(const void* ptr, int* size = 0) const; 00045 }; 00046