MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
BufCast Class Referenceabstract

#include <bufmod.h>

Inheritance diagram for BufCast:
Collaboration diagram for BufCast:

Public Member Functions

 BufCast (size_t offset)
 
virtual ~BufCast (void)
 
virtual size_t size (void) const =0
 
virtual size_t offset (void) const =0
 
virtual doublereal cast (const void *p) const =0
 
virtual void uncast (void *pTo, doublereal d) const =0
 
virtual BufCastcopy (size_t offset) const =0
 

Protected Attributes

size_t m_offset
 

Detailed Description

Definition at line 42 of file bufmod.h.

Constructor & Destructor Documentation

BufCast::BufCast ( size_t  offset)

Definition at line 45 of file bufmod.cc.

References NO_OP.

47 {
48  NO_OP;
49 }
virtual size_t offset(void) const =0
#define NO_OP
Definition: myassert.h:74
size_t m_offset
Definition: bufmod.h:44
BufCast::~BufCast ( void  )
virtual

Definition at line 51 of file bufmod.cc.

References NO_OP.

52 {
53  NO_OP;
54 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

virtual doublereal BufCast::cast ( const void *  p) const
pure virtual

Implemented in TBufCastHToN< T >, and TBufCast< T >.

virtual BufCast* BufCast::copy ( size_t  offset) const
pure virtual

Implemented in TBufCastHToN< T >, and TBufCast< T >.

Referenced by ReadBufCast().

virtual size_t BufCast::offset ( void  ) const
pure virtual

Implemented in TBufCast< T >.

virtual size_t BufCast::size ( void  ) const
pure virtual

Implemented in TBufCast< T >.

virtual void BufCast::uncast ( void *  pTo,
doublereal  d 
) const
pure virtual

Implemented in TBufCastHToN< T >, and TBufCast< T >.

Member Data Documentation

size_t BufCast::m_offset
protected

Definition at line 44 of file bufmod.h.

Referenced by TBufCast< T >::cast(), TBufCast< T >::offset(), and TBufCast< T >::uncast().


The documentation for this class was generated from the following files: