ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::ObjectState Struct Reference

State of an object ready for serialization. More...

#include <ObjectState.hpp>

+ Collaboration diagram for ScriptInterface::ObjectState:

Public Member Functions

template<class Archive >
void serialize (Archive &ar, long int)
 

Public Attributes

std::string name
 
PackedMap params
 
std::vector< std::pair< ObjectId, std::string > > objects
 
std::string internal_state
 

Detailed Description

State of an object ready for serialization.

This specifies the internal serialization format and should not be used outside of the class.

Definition at line 40 of file ObjectState.hpp.

Member Function Documentation

◆ serialize()

template<class Archive >
void ScriptInterface::ObjectState::serialize ( Archive &  ar,
long int   
)
inline

Definition at line 46 of file ObjectState.hpp.

References internal_state, name, objects, and params.

Member Data Documentation

◆ internal_state

std::string ScriptInterface::ObjectState::internal_state

Definition at line 44 of file ObjectState.hpp.

Referenced by serialize().

◆ name

std::string ScriptInterface::ObjectState::name

Definition at line 41 of file ObjectState.hpp.

Referenced by serialize().

◆ objects

std::vector<std::pair<ObjectId, std::string> > ScriptInterface::ObjectState::objects

Definition at line 43 of file ObjectState.hpp.

Referenced by serialize().

◆ params

PackedMap ScriptInterface::ObjectState::params

Definition at line 42 of file ObjectState.hpp.

Referenced by ScriptInterface::ObjectHandle::serialize(), and serialize().


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