galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::flags::DontSerialize Class Referencefinal

Used to stop an entity from being serialized to json data. More...

#include <DontSerialize.hpp>

Collaboration diagram for galaxy::flags::DontSerialize:

Public Member Functions

 DontSerialize () noexcept=default
 Constructor.
 DontSerialize (DontSerialize &&) noexcept=default
 Move constructor.
DontSerialize & operator= (DontSerialize &&) noexcept=default
 Move assignment operator.
 ~DontSerialize () noexcept=default
 Destructor.

Private Member Functions

DontSerialize & operator= (const DontSerialize &)=delete
 Copy assignment operator.
 DontSerialize (const DontSerialize &)=delete
 Copy constructor.

Private Attributes

bool m_flag = true
 Prevents empty type optimization.

Detailed Description

Used to stop an entity from being serialized to json data.

Definition at line 18 of file DontSerialize.hpp.

Constructor & Destructor Documentation

◆ DontSerialize() [1/3]

galaxy::flags::DontSerialize::DontSerialize ( )
defaultnoexcept

Constructor.

Here is the caller graph for this function:

◆ DontSerialize() [2/3]

galaxy::flags::DontSerialize::DontSerialize ( DontSerialize && )
defaultnoexcept

Move constructor.

Here is the call graph for this function:

◆ ~DontSerialize()

galaxy::flags::DontSerialize::~DontSerialize ( )
defaultnoexcept

Destructor.

Here is the call graph for this function:

◆ DontSerialize() [3/3]

galaxy::flags::DontSerialize::DontSerialize ( const DontSerialize & )
privatedelete

Copy constructor.

Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

DontSerialize & galaxy::flags::DontSerialize::operator= ( DontSerialize && )
defaultnoexcept

Move assignment operator.

Here is the call graph for this function:

◆ operator=() [2/2]

DontSerialize & galaxy::flags::DontSerialize::operator= ( const DontSerialize & )
privatedelete

Copy assignment operator.

Here is the call graph for this function:

Member Data Documentation

◆ m_flag

bool galaxy::flags::DontSerialize::m_flag = true
private

Prevents empty type optimization.

Definition at line 56 of file DontSerialize.hpp.


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