HIKPropertySetStream Class Reference

HIKPropertySetStream Class Reference

#include <hikdump.h>

Class Description

Definition at line 677 of file hikdump.h.

Public Member Functions

void Init ()
 
template<typename HIKFile >
bool Write (HIKFile pFile) const
 
template<typename HIKFile >
bool Read (HIKFile pFile)
 
void Init ()
 
template<typename HIKFile >
bool Write (HIKFile pFile) const
 
template<typename HIKFile >
bool Read (HIKFile pFile)
 

Public Attributes

Field< int, HIKLastPropertyIdmMode
 
Field< float, HIKLastPropertyIdmValue
 
Header HIKPropertySetHeader
 

Member Function Documentation

void Init ( )
inline

Definition at line 684 of file hikdump.h.

685  {
686  mMode.Init(0);
687  mValue.Init(0.0f);
689  }
const char HIKCHARACTERPROPERTY_HEADER[]
Definition: hikdump.h:197
void Init(FieldType pValue)
Definition: hikdump.h:245
Field< int, HIKLastPropertyId > mMode
Definition: hikdump.h:680
Header HIKPropertySetHeader
Definition: hikdump.h:682
void Init(const char *_Header)
Definition: hikdump.h:209
Field< float, HIKLastPropertyId > mValue
Definition: hikdump.h:681
void Init ( )
inline

Definition at line 691 of file hikdump.h.

692  {
693  mMode.Init(0);
694  mValue.Init(0.0f);
696  }
const char HIKCHARACTERPROPERTY_HEADER[]
Definition: hikdump.h:197
void Init(FieldType pValue)
Definition: hikdump.h:245
Field< int, HIKLastPropertyId > mMode
Definition: hikdump.h:680
Header HIKPropertySetHeader
Definition: hikdump.h:682
void Init(const char *_Header)
Definition: hikdump.h:209
Field< float, HIKLastPropertyId > mValue
Definition: hikdump.h:681
bool Read ( HIKFile  pFile)
inline

Definition at line 704 of file hikdump.h.

705  {
706  bool lFlag = false;
707 
708  if(HIKPropertySetHeader.Read(pFile))
709  {
710  lFlag = mMode.Read(pFile, HIKPropertySetHeader.bSwap);
711  lFlag = lFlag && mValue.Read(pFile, HIKPropertySetHeader.bSwap);
712  }
713 
714  return lFlag;
715  }
bool bSwap
Definition: hikdump.h:206
bool Read(HIKFile pFile)
Definition: hikdump_std.inl:45
Field< int, HIKLastPropertyId > mMode
Definition: hikdump.h:680
Header HIKPropertySetHeader
Definition: hikdump.h:682
bool Read(HIKFile pFile, bool bSwap)
Definition: hikdump_std.inl:73
Field< float, HIKLastPropertyId > mValue
Definition: hikdump.h:681
bool Read ( HIKFile  pFile)
inline

Definition at line 711 of file hikdump.h.

712  {
713  bool lFlag = false;
714 
715  if(HIKPropertySetHeader.Read(pFile))
716  {
717  lFlag = mMode.Read(pFile, HIKPropertySetHeader.bSwap);
718  lFlag = lFlag && mValue.Read(pFile, HIKPropertySetHeader.bSwap);
719  }
720 
721  return lFlag;
722  }
bool bSwap
Definition: hikdump.h:206
bool Read(HIKFile pFile)
Definition: hikdump_std.inl:45
Field< int, HIKLastPropertyId > mMode
Definition: hikdump.h:680
Header HIKPropertySetHeader
Definition: hikdump.h:682
bool Read(HIKFile pFile, bool bSwap)
Definition: hikdump_std.inl:73
Field< float, HIKLastPropertyId > mValue
Definition: hikdump.h:681
bool Write ( HIKFile  pFile) const
inline

Definition at line 692 of file hikdump.h.

693  {
694  bool lFlag = false;
695 
696  lFlag = HIKPropertySetHeader.Write(pFile);
697  lFlag = lFlag && mMode.Write(pFile);
698  lFlag = lFlag && mValue.Write(pFile);
699 
700  return lFlag;
701  }
bool Write(HIKFile pFile) const
Definition: hikdump_std.inl:36
Field< int, HIKLastPropertyId > mMode
Definition: hikdump.h:680
Header HIKPropertySetHeader
Definition: hikdump.h:682
bool Write(HIKFile pFile) const
Definition: hikdump_std.inl:66
Field< float, HIKLastPropertyId > mValue
Definition: hikdump.h:681
bool Write ( HIKFile  pFile) const
inline

Definition at line 699 of file hikdump.h.

700  {
701  bool lFlag = false;
702 
703  lFlag = HIKPropertySetHeader.Write(pFile);
704  lFlag = lFlag && mMode.Write(pFile);
705  lFlag = lFlag && mValue.Write(pFile);
706 
707  return lFlag;
708  }
bool Write(HIKFile pFile) const
Definition: hikdump_std.inl:36
Field< int, HIKLastPropertyId > mMode
Definition: hikdump.h:680
Header HIKPropertySetHeader
Definition: hikdump.h:682
bool Write(HIKFile pFile) const
Definition: hikdump_std.inl:66
Field< float, HIKLastPropertyId > mValue
Definition: hikdump.h:681

Member Data Documentation

Header HIKPropertySetHeader

Definition at line 682 of file hikdump.h.

Definition at line 680 of file hikdump.h.

Field< float, HIKLastPropertyId > mValue

Definition at line 681 of file hikdump.h.


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