PresetLoadArgs Class Reference

#include <base_preset_asset.h>

Inheritance diagram for PresetLoadArgs:

Detailed Description

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

Public Member Functions

 PresetLoadArgs ()
 
 PresetLoadArgs (const PresetLoadArgs &src)
 
Result< void > SetPointer (void *pointer)
 
void * GetPointer () const
 
Result< void > SetType (Int type)
 
Int GetType () const
 

Constructor & Destructor Documentation

◆ PresetLoadArgs() [1/2]

PresetLoadArgs default constructor.

◆ PresetLoadArgs() [2/2]

PresetLoadArgs ( const PresetLoadArgs src)

PresetLoadArgs copy constructor.

Parameters
[in]srcdata to copy.

Member Function Documentation

◆ SetPointer()

Result<void> SetPointer ( void *  pointer)

SetPointer sets a pointer.

Parameters
[in]pointerpointer to set.
Returns
OK on success.

◆ GetPointer()

void* GetPointer ( ) const

GetPointer returns the stored pointer.

◆ SetType()

Result<void> SetType ( Int  type)

SetType sets the pointer type.

Parameters
[in]typeType to set.
Returns
OK on success.

◆ GetType()

Int GetType ( ) const

GetType returns the type.