VR-Link API Documentation for HLA Evolved
floatDatatypeRep.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *******************************************************************************/
00007 #pragma once
00008 
00009 #include "numberDatatypeRep.h"
00010 
00011 #include <vlutil/vlString.h>
00012 
00016 class DT_DLL_OMTREADER DtFloatDatatypeRep : public DtNumberDatatypeRep
00017 {
00018 public:
00019    static int defaultFloatPrecision;
00020    
00022    DtFloatDatatypeRep();
00023    
00025    virtual ~DtFloatDatatypeRep();
00026    
00028    DtFloatDatatypeRep(const DtFloatDatatypeRep& orig);
00029    
00031    DtFloatDatatypeRep& operator=(const DtFloatDatatypeRep& rhs);
00032    
00034    virtual const char* datatype() const;
00035    
00037    virtual float floatVal(const void*) const;
00038 
00040    virtual DtString stringRep(const void* ptr, int* size = 0) const;
00041 
00043    virtual double numberRep(const void* ptr, int* size = 0) const;
00044 
00045 };
00046 
00047 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)