Public Types | Public Member Functions | Protected Member Functions | List of all members
icbox::CMemoryBankSerializerComp Class Reference

#include <CMemoryBankSerializerComp.h>

Inheritance diagram for icbox::CMemoryBankSerializerComp:
ilog::TLoggerCompWrap< Base > ifile::IFilePersistence ilog::TLoggerWrap< Base > ifile::IFileTypeInfo ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic

Public Types

enum  MessageId { MI_CBIOS_ERROR = 0xad20 }
 
typedef ilog::CLoggerComponentBase BaseClass
 

Public Member Functions

 CMemoryBankSerializerComp ()
 
virtual bool IsOperationSupported (const istd::IChangeable *dataObjectPtr, const QString *filePathPtr=NULL, int flags=-1, bool beQuiet=true) const
 
virtual int LoadFromFile (istd::IChangeable &data, const QString &filePath=QString()) const
 
virtual int SaveToFile (const istd::IChangeable &data, const QString &filePath=QString()) const
 
virtual bool GetFileExtensions (QStringList &result, int flags=-1, bool doAppend=false) const
 
virtual QString GetTypeDescription (const QString *extensionPtr=NULL) const
 
- Public Member Functions inherited from ilog::ILoggable
virtual void SetLogPtr (IMessageConsumer *logPtr)=0
 
virtual IMessageConsumerGetLogPtr () const =0
 
virtual void SetTracingEnabled (bool trace)=0
 
virtual bool IsTracingEnabled () const =0
 

Protected Member Functions

bool CheckError (quint32 errorCode) const
 
bool EnsurePartitionOpened () const
 
bool EnsurePartitionClosed () const
 
bool ReadFromMem (int offset, void *bufferPtr, int size) const
 
bool WriteToMem (int offset, const void *bufferPtr, int size) const
 
virtual void OnComponentCreated ()
 
virtual void OnComponentDestroyed ()
 

Detailed Description

Definition at line 17 of file CMemoryBankSerializerComp.h.

Member Typedef Documentation

Definition at line 22 of file CMemoryBankSerializerComp.h.

Member Enumeration Documentation

Enumerator
MI_CBIOS_ERROR 

Definition at line 24 of file CMemoryBankSerializerComp.h.

Constructor & Destructor Documentation

icbox::CMemoryBankSerializerComp::CMemoryBankSerializerComp ( )

Member Function Documentation

bool icbox::CMemoryBankSerializerComp::CheckError ( quint32  errorCode) const
protected
bool icbox::CMemoryBankSerializerComp::EnsurePartitionClosed ( ) const
protected
bool icbox::CMemoryBankSerializerComp::EnsurePartitionOpened ( ) const
protected
virtual bool icbox::CMemoryBankSerializerComp::GetFileExtensions ( QStringList &  result,
int  flags = -1,
bool  doAppend = false 
) const
virtual
virtual QString icbox::CMemoryBankSerializerComp::GetTypeDescription ( const QString *  extensionPtr = NULL) const
virtual
virtual bool icbox::CMemoryBankSerializerComp::IsOperationSupported ( const istd::IChangeable dataObjectPtr,
const QString *  filePathPtr = NULL,
int  flags = -1,
bool  beQuiet = true 
) const
virtual
virtual int icbox::CMemoryBankSerializerComp::LoadFromFile ( istd::IChangeable data,
const QString &  filePath = QString() 
) const
virtual
virtual void icbox::CMemoryBankSerializerComp::OnComponentCreated ( )
protectedvirtual
virtual void icbox::CMemoryBankSerializerComp::OnComponentDestroyed ( )
protectedvirtual
bool icbox::CMemoryBankSerializerComp::ReadFromMem ( int  offset,
void *  bufferPtr,
int  size 
) const
protected
virtual int icbox::CMemoryBankSerializerComp::SaveToFile ( const istd::IChangeable data,
const QString &  filePath = QString() 
) const
virtual
bool icbox::CMemoryBankSerializerComp::WriteToMem ( int  offset,
const void *  bufferPtr,
int  size 
) const
protected

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

© 2007-2011 Witold Gantzke and Kirill Lepskiy