Class MaterialResult

Inheritance Relationships

Base Type

Class Documentation

class MaterialResult : public csp::systems::ResultBase

Result data class that contains downloaded material data.

Public Functions

const Material *GetMaterial() const

Retrieves the Material from the result.

Returns

const Material* : Returns a pointer to the Material object. The caller should take ownership of the pointer.

Material *GetMaterial()

Retrieves the Material from the result.

Returns

Material* : Returns a pointer to the Material object. The caller should take ownership of the pointer.

inline MaterialResult(csp::systems::EResultCode ResCode, uint16_t HttpResCode)