PresetSaveArgs Class Reference

#include <base_preset_asset.h>

Inheritance diagram for PresetSaveArgs:

Detailed Description

Helper class to pass arguments for saving presets into asset/preset implementations. The values are implementation specific.

Public Member Functions

 PresetSaveArgs ()
 
 PresetSaveArgs (const PresetSaveArgs &src)
 
 PresetSaveArgs (void *rawptr, Int type=0)
 
void * GetPointer () const
 
Int GetType () const
 

Constructor & Destructor Documentation

◆ PresetSaveArgs() [1/3]

PresetSaveArgs default constructor.

◆ PresetSaveArgs() [2/3]

PresetSaveArgs ( const PresetSaveArgs src)

PresetSaveArgs copy constructor.

Parameters
[in]srcdata to copy.

◆ PresetSaveArgs() [3/3]

PresetSaveArgs ( void *  rawptr,
Int  type = 0 
)
explicit

PresetSaveArgs sets the pointer and type.

Parameters
[in]rawptrPointer to set.
[in]typeType to set.

Member Function Documentation

◆ GetPointer()

void* GetPointer ( ) const

GetPointer returns the pointer.

◆ GetType()

Int GetType ( ) const

GetType returns the type.