Into

Modules

Documentation

classPiiBaseClass

#include <PiiBaseClass.h>

A wrapper for serializing a base class.

Description

See PII_SERIALIZE_BASE.

Constructors and destructor

(
  • T & child
)

Create an instance of base class serializer with a reference to the derived class.

Public member functions

template<class Archive>
PII_SEPARATE_SAVE_LOAD_MEMBERS void
(
  • Archive & archive
  • const unsigned int
)
template<class Archive>
void
(
  • Archive & archive
  • const unsigned int
)

Function details

  • PiiBaseClass

    (
    • T & child
    )
    [inline]

    Create an instance of base class serializer with a reference to the derived class.

     template <class Archive>
     void Derived::serialize(Archive& archive, const unsigned int)
     {
       archive & PiiBaseClass<Base>(*this);
     }
    
  • template<class Archive>

    PII_SEPARATE_SAVE_LOAD_MEMBERS void load

    (
    • Archive & archive
    • const unsigned int
    )
    [inline]
  • template<class Archive>

    void save

    (
    • Archive & archive
    • const unsigned int
    )
    [inline]
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.