Monobit Unity Networking ver.2.8.0 Server API Reference (C++)
STREAM::Union Class Reference

任意の変数. More...

#include <MunStream.hpp>

Collaboration diagram for STREAM::Union:

Public Member Functions

 Union ()
 コンストラクタ.
 
 Union (uint8 _type, Binary &_data)
 コンストラクタ. More...
 
virtual ~Union ()
 デストラクタ.
 
Unionoperator= (const Union &rRef)
 代入処理. More...
 
uint32 Size ()
 データサイズの取得. More...
 
bool Pack (MunBuffer &buffer)
 MunBufferへのパッキング. More...
 
bool Unpack (MunBuffer &buffer)
 MunBufferからのアンパッキング. More...
 

Public Attributes

uint8 type
 変数型(列挙型UNIONTYPEの定数). More...
 
Binary data
 変数データ本体. More...
 

Detailed Description

任意の変数.

Constructor & Destructor Documentation

STREAM::Union::Union ( uint8  _type,
Binary _data 
)

コンストラクタ.

Parameters
_type代入変数型.
_data代入変数データ本体.

Member Function Documentation

Union& STREAM::Union::operator= ( const Union rRef)

代入処理.

Parameters
rRef代入変数.
bool STREAM::Union::Pack ( MunBuffer buffer)

MunBufferへのパッキング.

Parameters
bufferMunBufferクラスオブジェクト.

Here is the call graph for this function:

Here is the caller graph for this function:

uint32 STREAM::Union::Size ( )

データサイズの取得.

Returns
uint32 データサイズを返す.

Here is the call graph for this function:

Here is the caller graph for this function:

bool STREAM::Union::Unpack ( MunBuffer buffer)

MunBufferからのアンパッキング.

Parameters
bufferMunBufferクラスオブジェクト.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Binary STREAM::Union::data

変数データ本体.

uint8 STREAM::Union::type

変数型(列挙型UNIONTYPEの定数).


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