TNB Library
公開メンバ関数 | 全メンバ一覧
ISerializable 構造体abstract

シリアライザブルインターフェース. [詳解]

#include <TnbSerializer.h>

CTreeT< CStr, CStr, LPCTSTR >, IConstCollectionT< bool >, IConstCollectionT< BYTE >, IConstCollectionT< TNB::CPairT< T, T > >, IConstCollectionT< TNB::CPairT< KEY, VAL > >, IConstCollectionT< KEY >, IConstCollectionT< VAL >, IConstCollectionT< TYP * >, IConstCollectionT< DWORD >, IConstCollectionT< TNB::CArrayPtrHandleT< TYP > >, IConstCollectionT< WORD >, IConstCollectionT< TNB::CVectorT >, IConstCollectionT< TValue >, IConstCollectionT< CVectorT< BYTE > >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CSingleSetT< TNB::CStrT > > >, IConstCollectionT< TNB::CPairT >, IConstCollectionT< CStr >, IConstCollectionT< TParam >, IConstCollectionT< TNB::CArrayPtrHandleT< TParam > >, IConstCollectionT< TCHAR >, IConstCollectionT< TNB::CPairT< PROPID, CTagInfo > >, IConstCollectionT< TNB::CGrid::TFieldInfo >, IConstCollectionT< TNB::CPairT< int, HICON > >, IConstCollectionT< HICON >, IConstCollectionT< TNB::CMailAddress >, IConstCollectionT< CAscii >, IConstCollectionT< TNB::CPairT< TNB::CStrT, CVectorT< BYTE > > >, IConstCollectionT< TNB::CPairT< CAscii, CAscii > >, IConstCollectionT< TNB::CMultiFontTextDrawer::TPart >, IConstCollectionT< POINT >, IConstCollectionT< CCursorManager * >, IConstCollectionT< TNB::CPointerHandleT< CCursorManager > >, IConstCollectionT< TNB::CNmea0183::TGpGsv >, IConstCollectionT< TNB::CPacketCommander::CInner::TTask * >, IConstCollectionT< TNB::CPointerHandleT< TYP > >, IConstCollectionT< TNB::CListQueueT< TYP > >, IConstCollectionT< TInfo >, IConstCollectionT< TNB::CStrT< TYP > >, IConstCollectionT< TNB::CShapeFile::IRecordContent * >, IConstCollectionT< TNB::CPointerHandleT< TNB::CShapeFile::IRecordContent > >, IConstCollectionT< SOCKET >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CMapT > >, IConstCollectionT< TNB::CPairT< DWORD, TYP > >, IConstCollectionT< TBindWork * >, IConstCollectionT< TNB::CPointerHandleT< TBindWork > >, IConstCollectionT< CFileInfoArray >, IConstCollectionT< TNB::CTmlDocuments::TFileInfo::TFunc >, IConstCollectionT< TFuncInfo >, IConstCollectionT< EKind >, IConstCollectionT< TNB::CGrammarAnalyzerT >, IConstCollectionT< INDEX >, IConstCollectionT< CVaVaVector >, IConstCollectionT< CArVaVector >, IConstCollectionT< CTmlValue >, IConstCollectionT< char >, IConstCollectionT< short >, IConstCollectionT< TNB::CPairT< FOURCC, TChunkMap > >, IConstCollectionT< TNB::CPairT< FOURCC, TNB::CStrT > >, IConstCollectionT< EAttr >, IConstCollectionT< TParam * >, IConstCollectionT< TNB::MFC::CColorfulListBox::CColor::TParam >, IConstCollectionT< CPointerHandleT< IDrawable > >, IConstCollectionT< UINT >, IConstCollectionT< CDrawersVector >, IConstCollectionT< IDrawable::Ptr >, IConstCollectionT< TNB::MFC::CDrawingSubMenu * >, IConstCollectionT< TNB::CPointerHandleT< TNB::MFC::CDrawingSubMenu > >, IConstCollectionT< TNB::CPairT< HTREEITEM, CPointerHandleT< IDrawable > > >, IConstCollectionT< CArrayPtrHandleT< TCHAR > >, IConstCollectionT< TNB::CPairT< COLORREF, CPointerHandleT< TPointInfo > > >, CHashableT< TYP >, CLongIntegerT< PLACE >, CNullableT< TYP >, CPairT< FIRST, SECOND >, CRangeT< TYP, DIF >, CSerializeTag, CTreeT< KEY, VAL, INK >, IConstCollectionT< TYP > (計78項目)に継承されています。

公開メンバ関数

virtual void Deserialize (const IDeserializer &ds)=0
 [通知] デシリアライズ [詳解]
 
virtual void Serialize (ISerializer &_sr) const =0
 [通知] シリアライズ [詳解]
 
virtual ~ISerializable (void)
 デストラクタ [詳解]
 

詳解

シリアライザブルインターフェース.

シリアライズ機能を実装するためのインターフェースです。
このインターフェースが実装されていたら ISerializer , IDeserializer のサブクラスで
シリアライズ/デシリアライズが可能です(コレクタの要素に使用しても可能)。
必要ファイル
TnbSerializer.h
日付
06/08/17 新規作成

TnbSerializer.h46 行目に定義があります。

構築子と解体子

◆ ~ISerializable()

virtual ~ISerializable ( void  )
virtual

デストラクタ

TnbSerializer.h49 行目に定義があります。

関数詳解

◆ Deserialize()

virtual void Deserialize ( const IDeserializer ds)
pure virtual

[通知] デシリアライズ

引数
dsデシリアライザー。これからメンバの内容を取り出してください。
例外
CTnbException失敗時は、任意のスローの可能性があります。

CAttributedVectorT< TYP, ATT >, CAttributedVectorT< BYTE, BYTE >, IConstCollectionT< TYP >, IConstCollectionT< bool >, IConstCollectionT< BYTE >, IConstCollectionT< TNB::CPairT< T, T > >, IConstCollectionT< TNB::CPairT< KEY, VAL > >, IConstCollectionT< KEY >, IConstCollectionT< VAL >, IConstCollectionT< TYP * >, IConstCollectionT< DWORD >, IConstCollectionT< TNB::CArrayPtrHandleT< TYP > >, IConstCollectionT< WORD >, IConstCollectionT< TNB::CVectorT >, IConstCollectionT< TValue >, IConstCollectionT< CVectorT< BYTE > >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CSingleSetT< TNB::CStrT > > >, IConstCollectionT< TNB::CPairT >, IConstCollectionT< CStr >, IConstCollectionT< TParam >, IConstCollectionT< TNB::CArrayPtrHandleT< TParam > >, IConstCollectionT< TCHAR >, IConstCollectionT< TNB::CPairT< PROPID, CTagInfo > >, IConstCollectionT< TNB::CGrid::TFieldInfo >, IConstCollectionT< TNB::CPairT< int, HICON > >, IConstCollectionT< HICON >, IConstCollectionT< TNB::CMailAddress >, IConstCollectionT< CAscii >, IConstCollectionT< TNB::CPairT< TNB::CStrT, CVectorT< BYTE > > >, IConstCollectionT< TNB::CPairT< CAscii, CAscii > >, IConstCollectionT< TNB::CMultiFontTextDrawer::TPart >, IConstCollectionT< POINT >, IConstCollectionT< CCursorManager * >, IConstCollectionT< TNB::CPointerHandleT< CCursorManager > >, IConstCollectionT< TNB::CNmea0183::TGpGsv >, IConstCollectionT< TNB::CPacketCommander::CInner::TTask * >, IConstCollectionT< TNB::CPointerHandleT< TYP > >, IConstCollectionT< TNB::CListQueueT< TYP > >, IConstCollectionT< TInfo >, IConstCollectionT< TNB::CStrT< TYP > >, IConstCollectionT< TNB::CShapeFile::IRecordContent * >, IConstCollectionT< TNB::CPointerHandleT< TNB::CShapeFile::IRecordContent > >, IConstCollectionT< SOCKET >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CMapT > >, IConstCollectionT< TNB::CPairT< DWORD, TYP > >, IConstCollectionT< TBindWork * >, IConstCollectionT< TNB::CPointerHandleT< TBindWork > >, IConstCollectionT< CFileInfoArray >, IConstCollectionT< TNB::CTmlDocuments::TFileInfo::TFunc >, IConstCollectionT< TFuncInfo >, IConstCollectionT< EKind >, IConstCollectionT< TNB::CGrammarAnalyzerT >, IConstCollectionT< INDEX >, IConstCollectionT< CVaVaVector >, IConstCollectionT< CArVaVector >, IConstCollectionT< CTmlValue >, IConstCollectionT< char >, IConstCollectionT< short >, IConstCollectionT< TNB::CPairT< FOURCC, TChunkMap > >, IConstCollectionT< TNB::CPairT< FOURCC, TNB::CStrT > >, IConstCollectionT< EAttr >, IConstCollectionT< TParam * >, IConstCollectionT< TNB::MFC::CColorfulListBox::CColor::TParam >, IConstCollectionT< CPointerHandleT< IDrawable > >, IConstCollectionT< UINT >, IConstCollectionT< CDrawersVector >, IConstCollectionT< IDrawable::Ptr >, IConstCollectionT< TNB::MFC::CDrawingSubMenu * >, IConstCollectionT< TNB::CPointerHandleT< TNB::MFC::CDrawingSubMenu > >, IConstCollectionT< TNB::CPairT< HTREEITEM, CPointerHandleT< IDrawable > > >, IConstCollectionT< CArrayPtrHandleT< TCHAR > >, IConstCollectionT< TNB::CPairT< COLORREF, CPointerHandleT< TPointInfo > > >, ICollectionT< TYP >, ICollectionT< bool >, ICollectionT< TNB::CPairT< T, T > >, ICollectionT< TNB::CPairT< KEY, VAL > >, ICollectionT< BYTE >, ICollectionT< DWORD >, ICollectionT< TNB::CArrayPtrHandleT< TYP > >, ICollectionT< WORD >, ICollectionT< TNB::CVectorT >, ICollectionT< TValue >, ICollectionT< CVectorT< BYTE > >, ICollectionT< TNB::CPairT< TNB::CStrT, TNB::CSingleSetT< TNB::CStrT > > >, ICollectionT< TNB::CPairT >, ICollectionT< CStr >, ICollectionT< TParam >, ICollectionT< TNB::CArrayPtrHandleT< TParam > >, ICollectionT< TCHAR >, ICollectionT< TNB::CPairT< PROPID, CTagInfo > >, ICollectionT< TNB::CGrid::TFieldInfo >, ICollectionT< TNB::CPairT< int, HICON > >, ICollectionT< HICON >, ICollectionT< TNB::CMailAddress >, ICollectionT< CAscii >, ICollectionT< TNB::CPairT< TNB::CStrT, CVectorT< BYTE > > >, ICollectionT< TNB::CPairT< CAscii, CAscii > >, ICollectionT< TNB::CMultiFontTextDrawer::TPart >, ICollectionT< POINT >, ICollectionT< TNB::CPointerHandleT< CCursorManager > >, ICollectionT< TNB::CNmea0183::TGpGsv >, ICollectionT< TNB::CPacketCommander::CInner::TTask * >, ICollectionT< TNB::CPointerHandleT< TYP > >, ICollectionT< TNB::CListQueueT< TYP > >, ICollectionT< TInfo >, ICollectionT< TNB::CStrT< TYP > >, ICollectionT< TNB::CPointerHandleT< TNB::CShapeFile::IRecordContent > >, ICollectionT< SOCKET >, ICollectionT< TNB::CPairT< TNB::CStrT, TNB::CMapT > >, ICollectionT< TNB::CPairT< DWORD, TYP > >, ICollectionT< TYP * >, ICollectionT< TNB::CPointerHandleT< TBindWork > >, ICollectionT< CFileInfoArray >, ICollectionT< TNB::CTmlDocuments::TFileInfo::TFunc >, ICollectionT< TFuncInfo >, ICollectionT< EKind >, ICollectionT< TNB::CGrammarAnalyzerT >, ICollectionT< INDEX >, ICollectionT< CVaVaVector >, ICollectionT< CArVaVector >, ICollectionT< CTmlValue >, ICollectionT< char >, ICollectionT< TNB::CPairT< FOURCC, TChunkMap > >, ICollectionT< TNB::CPairT< FOURCC, TNB::CStrT > >, ICollectionT< EAttr >, ICollectionT< TParam * >, ICollectionT< TNB::MFC::CColorfulListBox::CColor::TParam >, ICollectionT< CPointerHandleT< IDrawable > >, ICollectionT< UINT >, ICollectionT< CDrawersVector >, ICollectionT< IDrawable::Ptr >, ICollectionT< TNB::CPointerHandleT< TNB::MFC::CDrawingSubMenu > >, ICollectionT< TNB::CPairT< HTREEITEM, CPointerHandleT< IDrawable > > >, ICollectionT< CArrayPtrHandleT< TCHAR > >, ICollectionT< TNB::CPairT< COLORREF, CPointerHandleT< TPointInfo > > >, CHashableT< TYP >, CListT< TYP, ATT >, CListT< TNB::CListQueueT< TYP > >, CLongIntegerT< PLACE >, CPairT< FIRST, SECOND >, CRangeT< TYP, DIF >, CSerializeTag, CTreeT< KEY, VAL, INK >, CTreeT< CStr, CStr, LPCTSTR > (計144項目)で実装されています。

◆ Serialize()

virtual void Serialize ( ISerializer _sr) const
pure virtual

[通知] シリアライズ

引数
[out]_srシリアライザー。 これに対しメンバの内容を追加してください。
例外
CTnbException失敗時は、任意のスローの可能性があります。

CAttributedVectorT< TYP, ATT >, CAttributedVectorT< BYTE, BYTE >, IConstCollectionT< TYP >, IConstCollectionT< bool >, IConstCollectionT< BYTE >, IConstCollectionT< TNB::CPairT< T, T > >, IConstCollectionT< TNB::CPairT< KEY, VAL > >, IConstCollectionT< KEY >, IConstCollectionT< VAL >, IConstCollectionT< TYP * >, IConstCollectionT< DWORD >, IConstCollectionT< TNB::CArrayPtrHandleT< TYP > >, IConstCollectionT< WORD >, IConstCollectionT< TNB::CVectorT >, IConstCollectionT< TValue >, IConstCollectionT< CVectorT< BYTE > >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CSingleSetT< TNB::CStrT > > >, IConstCollectionT< TNB::CPairT >, IConstCollectionT< CStr >, IConstCollectionT< TParam >, IConstCollectionT< TNB::CArrayPtrHandleT< TParam > >, IConstCollectionT< TCHAR >, IConstCollectionT< TNB::CPairT< PROPID, CTagInfo > >, IConstCollectionT< TNB::CGrid::TFieldInfo >, IConstCollectionT< TNB::CPairT< int, HICON > >, IConstCollectionT< HICON >, IConstCollectionT< TNB::CMailAddress >, IConstCollectionT< CAscii >, IConstCollectionT< TNB::CPairT< TNB::CStrT, CVectorT< BYTE > > >, IConstCollectionT< TNB::CPairT< CAscii, CAscii > >, IConstCollectionT< TNB::CMultiFontTextDrawer::TPart >, IConstCollectionT< POINT >, IConstCollectionT< CCursorManager * >, IConstCollectionT< TNB::CPointerHandleT< CCursorManager > >, IConstCollectionT< TNB::CNmea0183::TGpGsv >, IConstCollectionT< TNB::CPacketCommander::CInner::TTask * >, IConstCollectionT< TNB::CPointerHandleT< TYP > >, IConstCollectionT< TNB::CListQueueT< TYP > >, IConstCollectionT< TInfo >, IConstCollectionT< TNB::CStrT< TYP > >, IConstCollectionT< TNB::CShapeFile::IRecordContent * >, IConstCollectionT< TNB::CPointerHandleT< TNB::CShapeFile::IRecordContent > >, IConstCollectionT< SOCKET >, IConstCollectionT< TNB::CPairT< TNB::CStrT, TNB::CMapT > >, IConstCollectionT< TNB::CPairT< DWORD, TYP > >, IConstCollectionT< TBindWork * >, IConstCollectionT< TNB::CPointerHandleT< TBindWork > >, IConstCollectionT< CFileInfoArray >, IConstCollectionT< TNB::CTmlDocuments::TFileInfo::TFunc >, IConstCollectionT< TFuncInfo >, IConstCollectionT< EKind >, IConstCollectionT< TNB::CGrammarAnalyzerT >, IConstCollectionT< INDEX >, IConstCollectionT< CVaVaVector >, IConstCollectionT< CArVaVector >, IConstCollectionT< CTmlValue >, IConstCollectionT< char >, IConstCollectionT< short >, IConstCollectionT< TNB::CPairT< FOURCC, TChunkMap > >, IConstCollectionT< TNB::CPairT< FOURCC, TNB::CStrT > >, IConstCollectionT< EAttr >, IConstCollectionT< TParam * >, IConstCollectionT< TNB::MFC::CColorfulListBox::CColor::TParam >, IConstCollectionT< CPointerHandleT< IDrawable > >, IConstCollectionT< UINT >, IConstCollectionT< CDrawersVector >, IConstCollectionT< IDrawable::Ptr >, IConstCollectionT< TNB::MFC::CDrawingSubMenu * >, IConstCollectionT< TNB::CPointerHandleT< TNB::MFC::CDrawingSubMenu > >, IConstCollectionT< TNB::CPairT< HTREEITEM, CPointerHandleT< IDrawable > > >, IConstCollectionT< CArrayPtrHandleT< TCHAR > >, IConstCollectionT< TNB::CPairT< COLORREF, CPointerHandleT< TPointInfo > > >, CHashableT< TYP >, CListT< TYP, ATT >, CListT< TNB::CListQueueT< TYP > >, CLongIntegerT< PLACE >, CNullableT< TYP >, CPairT< FIRST, SECOND >, CPointerVectorT< TYP >, CPointerVectorT< CCursorManager >, CPointerVectorT< TNB::CShapeFile::IRecordContent >, CPointerVectorT< TBindWork >, CPointerVectorT< TNB::MFC::CDrawingSubMenu >, CRangeT< TYP, DIF >, CSerializeTag, CTreeT< KEY, VAL, INK >, CTreeT< CStr, CStr, LPCTSTR > (計87項目)で実装されています。