Class MaterialsResult

Inheritance Relationships

Base Type

Class Documentation

class MaterialsResult : public csp::systems::ResultBase

Result data class that contains a collection of downloaded material data.

Public Functions

const csp::common::Array<csp::systems::Material*> *GetMaterials() const

Retreives an Array of Materials from the result.

Returns

const Array<Material*>* : Returns a const pointer to an Array of Material class pointers. The caller should take ownership of the pointer.

csp::common::Array<csp::systems::Material*> *GetMaterials()

Retreives an Array of Materials from the result.

Returns

Array<Material*>* : Returns a pointer to an Array of Material class pointers. The caller should take ownership of the pointer.

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