C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844
c3d_conv_user::ObContainer Class Reference

Container for storing user objects. Used for subsequent body creation. More...

#include <conv_ob_container.h>

Public Member Functions

 ObContainer ()
 Default constructor.
 
template<class ObObjectT >
ObObjectT & AddObObject (int id)
 Adding a new object to a container.
 
void SetRootId (const int id)
 Set root id.
 
bool IsReady () const
 Is the container ready for use.
 
bool WriteIntoFile (std::filesystem::path const &path) const
 Write custom objects to an ".ob" file.
 

Static Public Member Functions

static std::shared_ptr< ObContainer > ReadFromFile (std::filesystem::path const &path)
 Read custom objects from an ".ob" file.
 

Protected Member Functions

 ObContainer (std::shared_ptr< ObContainer const > &&)
 Move constructor.
 
ObContainer & operator= (std::shared_ptr< ObContainer const > &&)
 Move operator.
 
 ObContainer (const int rootId, const std::map< int, ObObject > &obObjects)
 Constructor by id and set of objects.
 

Detailed Description

Container for storing user objects. Used for subsequent body creation.

Attention
Experimental class.

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