esp::metadata::attributes::CubePrimitiveAttributes class

Base classes

class AbstractPrimitiveAttributes

Constructors, destructors, conversion operators

CubePrimitiveAttributes(bool isWireframe, int primObjType, const std::string& primObjClassName)

Public functions

auto isValidTemplate() -> bool override
This will determine if the stated template has the required quantities needed to instantiate a primitive properly of desired type. Cube primitives require no values and so this attributes is always valid.

Protected functions

auto buildHandleDetail() -> std::string override
auto parseStringIntoConfigDetail(const std::string& configString) -> bool override

Function documentation

bool esp::metadata::attributes::CubePrimitiveAttributes::isValidTemplate() override

This will determine if the stated template has the required quantities needed to instantiate a primitive properly of desired type. Cube primitives require no values and so this attributes is always valid.

Returns whether or not the template holds valid data for desired primitive type