|
HDK
|
Namespaces | |
| detail | |
Functions | |
| template<> | |
| UT_Optional< Bool > | castArgValue (APEX_Argument &arg) |
| Specialization for bools to allow conversion from integers. More... | |
| template<> | |
| UT_Optional< Int > | castArgValue (APEX_Argument &arg) |
| Specialization for ints to allow conversion from bools. More... | |
| APEX_API UT_StringHolder | APEXformatArg (const APEX_Argument *arg) |
| Returns the value of the argument as a string. More... | |
| APEX_API void | APEXformatString (String &result, const String &format_str, const UT_Array< const APEX_Argument * > &args) |
| template<typename C , typename... Ts, size_t... Index> | |
| void | applyArgs (const C &callback, APEX_ArgPtrs &arg_ptrs, std::index_sequence< Index...>) |
| template<typename C , typename... Ts> | |
| void | applyArgs (const C &callback, APEX_ArgPtrs &arg_ptrs) |
| Invoke the callback with the provided arguments, which are casted to type Ts... More... | |
| template<typename T > | |
| void | addToSignature (APEX_Signature &sig, const UT_StringHolder &name) |
| template<typename... Ts, size_t... Index> | |
| APEX_Signature | makeSignature (UT_Span< const char *const, sizeof...(Ts)> argnames, std::index_sequence< Index...>) |
| template<typename... Ts> | |
| APEX_Signature | makeSignature (UT_Span< const char *const, sizeof...(Ts)> argnames) |
| template<typename... Ts> | |
| APEX_Signature | makeSignature (std::nullptr_t) |
| std::pair< UT_StringHolder, UT_StringHolder > | APEXsplitNameAndVersion (const char *fullname) |
| template<typename T > | |
| exint | APEXfilterCallbacksBySignature (UT_Array< const T * > &callbacks, const APEX_Signature &filter) |
| APEX_VISIBILITY_EXPORT void | addApexFunction (APEX_Registry ®) |
| template<typename T > | |
| size_t | UTformatBuffer (char *buffer, size_t bufsize, const ApexArray< T > &v) |
| APEX_API size_t | UTformatBuffer (char *buffer, size_t bufsize, const ApexGeometry &v) |
| template<> | |
| APEX_API size_t | UTformatBuffer< ApexGeometry > (char *buffer, size_t bufsize, const ApexArray< ApexGeometry > &v) |
| APEX_API size_t | UTformatBuffer (char *buffer, size_t buffer_size, const APEX_ParmDict &v) |
| APEX_API size_t | UTformatBuffer (char *buffer, size_t buffer_size, const Dict &v) |
| template<> | |
| APEX_API size_t | UTformatBuffer< Dict > (char *buffer, size_t bufsize, const ApexArray< Dict > &v) |
| void | setUtOption (UT_Options &opt, const UT_StringRef &key, const APEX_Argument &arg, bool include_geometry=false, bool include_typeinfo=true) |
| APEX_API UT_ArrayStringMap < const APEX_TypeDefinitionBase * > & | APEXtypeDefinitions () |
Variables | |
| APEX_API APEX_VoidTypeDefinition | void_type_defn |
| using apex::addApexFunctionPtr = typedef void (*)(APEX_Registry &) |
Definition at line 52 of file APEX_Registry.h.
| using apex::APEX_ArgPtrs = typedef UT_Array<void *> |
Definition at line 430 of file APEX_Callback.h.
| using apex::APEX_DataID = typedef int64 |
Definition at line 86 of file APEX_Buffer.h.
| using apex::APEX_GraphHandle = typedef APEX_COWHandle<APEX_Graph> |
Definition at line 92 of file APEX_Include.h.
| using apex::APEX_OverloadSetPtr = typedef UT_SharedPtr<APEX_OverloadSet> |
Definition at line 86 of file APEX_Registry.h.
| using apex::APEX_ParmList = typedef UT_Array<APEX_Parm> |
Definition at line 97 of file APEX_Callback.h.
| using apex::APEX_ParmPtr = typedef UT_SharedPtr<APEX_Parm> |
Definition at line 96 of file APEX_Callback.h.
| using apex::APEX_RegistryPtr = typedef UT_SharedPtr<APEX_Registry> |
Definition at line 84 of file APEX_Registry.h.
| using apex::APEX_RegistryPtrList = typedef UT_Array<APEX_RegistryPtr> |
Definition at line 85 of file APEX_Registry.h.
| using apex::APEX_SignaturePtr = typedef UT_SharedPtr<APEX_Signature> |
Definition at line 305 of file APEX_Callback.h.
| using apex::Bool = typedef bool |
Definition at line 60 of file APEX_Include.h.
| using apex::BoolArray = typedef ApexArray<Bool> |
Definition at line 94 of file APEX_Include.h.
| using apex::ColorRampArray = typedef ApexArray<ColorRamp> |
Definition at line 105 of file APEX_Include.h.
| using apex::DataItem = typedef PRM_DataItemHandle |
Definition at line 112 of file APEX_Include.h.
| using apex::Dict = typedef APEX_COWHandle<APEX_ParmDict> |
Definition at line 66 of file APEX_ParmDict.h.
| using apex::DictArray = typedef ApexArray<Dict> |
Definition at line 67 of file APEX_ParmDict.h.
| using apex::Float = typedef double |
Definition at line 62 of file APEX_Include.h.
| using apex::FloatArray = typedef ApexArray<Float> |
Definition at line 96 of file APEX_Include.h.
| using apex::FloatRampArray = typedef ApexArray<FloatRamp> |
Definition at line 104 of file APEX_Include.h.
| using apex::Geometry = typedef ApexGeometry |
Definition at line 69 of file APEX_Include.h.
| using apex::GeometryArray = typedef ApexArray<ApexGeometry> |
Definition at line 103 of file APEX_Include.h.
Definition at line 61 of file APEX_Include.h.
| using apex::IntArray = typedef ApexArray<Int> |
Definition at line 95 of file APEX_Include.h.
| using apex::Matrix3 = typedef UT_Matrix3T<Float> |
Definition at line 67 of file APEX_Include.h.
| using apex::Matrix3Array = typedef ApexArray<Matrix3> |
Definition at line 101 of file APEX_Include.h.
| using apex::Matrix4 = typedef UT_Matrix4T<Float> |
Definition at line 68 of file APEX_Include.h.
| using apex::Matrix4Array = typedef ApexArray<Matrix4> |
Definition at line 102 of file APEX_Include.h.
| using apex::Quaternion = typedef UT_QuaternionT<Float> |
Definition at line 110 of file APEX_Include.h.
| using apex::String = typedef UT_StringHolder |
Definition at line 63 of file APEX_Include.h.
| using apex::StringArray = typedef ApexArray<String> |
Definition at line 97 of file APEX_Include.h.
| using apex::Vector2 = typedef UT_Vector2T<Float> |
Definition at line 64 of file APEX_Include.h.
| using apex::Vector2Array = typedef ApexArray<Vector2> |
Definition at line 98 of file APEX_Include.h.
| using apex::Vector3 = typedef UT_Vector3T<Float> |
Definition at line 65 of file APEX_Include.h.
| using apex::Vector3Array = typedef ApexArray<Vector3> |
Definition at line 99 of file APEX_Include.h.
| using apex::Vector4 = typedef UT_Vector4T<Float> |
Definition at line 66 of file APEX_Include.h.
| using apex::Vector4Array = typedef ApexArray<Vector4> |
Definition at line 100 of file APEX_Include.h.
|
strong |
Definition at line 410 of file APEX_Callback.h.
| Enumerator | |
|---|---|
| APEX_REGISTRY_INVALID | |
| APEX_REGISTRY_CALLBACK | |
| APEX_REGISTRY_COMPONENT | |
| APEX_REGISTRY_CONSTRAINT | |
| APEX_REGISTRY_CONTROL | |
| APEX_REGISTRY_N | |
Definition at line 54 of file APEX_Registry.h.
| APEX_VISIBILITY_EXPORT void apex::addApexFunction | ( | APEX_Registry & | reg | ) |
| void apex::addToSignature | ( | APEX_Signature & | sig, |
| const UT_StringHolder & | name | ||
| ) |
Definition at line 517 of file APEX_Callback.h.
| exint apex::APEXfilterCallbacksBySignature | ( | UT_Array< const T * > & | callbacks, |
| const APEX_Signature & | filter | ||
| ) |
Filters the callbacks array by removing the callbacks whose signatures do not contain all parms present in the filter signature. Returns the number of removed callbacks.
The filter signature represents a sparse set of required parms. Callbacks with additional parms are not removed as long as all parms in the filter signature are present in the callback signature.
Definition at line 661 of file APEX_Callback.h.
| APEX_API UT_StringHolder apex::APEXformatArg | ( | const APEX_Argument * | arg | ) |
Returns the value of the argument as a string.
| APEX_API void apex::APEXformatString | ( | String & | result, |
| const String & | format_str, | ||
| const UT_Array< const APEX_Argument * > & | args | ||
| ) |
Takes a formatting string, and an array of arguments, and writes the formatted string to the result.
|
inline |
Splits the namespace version of fullname into a name and version pair. For example, "string::Build::3.0" is split as {"string::Build", "3.0"}.
Definition at line 635 of file APEX_Callback.h.
| APEX_API UT_ArrayStringMap<const APEX_TypeDefinitionBase *>& apex::APEXtypeDefinitions | ( | ) |
|
inline |
Definition at line 502 of file APEX_Callback.h.
|
inline |
Invoke the callback with the provided arguments, which are casted to type Ts...
Definition at line 510 of file APEX_Callback.h.
|
inline |
Specialization for bools to allow conversion from integers.
Definition at line 272 of file APEX_Buffer.h.
|
inline |
Specialization for ints to allow conversion from bools.
Definition at line 287 of file APEX_Buffer.h.
| APEX_Signature apex::makeSignature | ( | UT_Span< const char *const, sizeof...(Ts)> | argnames, |
| std::index_sequence< Index...> | |||
| ) |
Definition at line 538 of file APEX_Callback.h.
| APEX_Signature apex::makeSignature | ( | UT_Span< const char *const, sizeof...(Ts)> | argnames | ) |
Definition at line 549 of file APEX_Callback.h.
| APEX_Signature apex::makeSignature | ( | std::nullptr_t | ) |
NB: This overload is here for backward compatibility. It was used to handle callbacks declaring an empty argnames member (since const char*[0] is a non-standard c++ type). The rare callbacks which do have an empty argnames member should instead use a std::array<T, 0>: static constexpr std::array<const char*, 0> argnames = {};
Definition at line 564 of file APEX_Callback.h.
| void apex::setUtOption | ( | UT_Options & | opt, |
| const UT_StringRef & | key, | ||
| const APEX_Argument & | arg, | ||
| bool | include_geometry = false, |
||
| bool | include_typeinfo = true |
||
| ) |
|
inline |
Definition at line 138 of file APEX_COW.h.
| APEX_API size_t apex::UTformatBuffer | ( | char * | buffer, |
| size_t | buffer_size, | ||
| const APEX_ParmDict & | v | ||
| ) |
| APEX_API size_t apex::UTformatBuffer | ( | char * | buffer, |
| size_t | buffer_size, | ||
| const Dict & | v | ||
| ) |
| APEX_API size_t apex::UTformatBuffer | ( | char * | buffer, |
| size_t | bufsize, | ||
| const ApexGeometry & | v | ||
| ) |
| APEX_API size_t apex::UTformatBuffer< ApexGeometry > | ( | char * | buffer, |
| size_t | bufsize, | ||
| const ApexArray< ApexGeometry > & | v | ||
| ) |
| APEX_API size_t apex::UTformatBuffer< Dict > | ( | char * | buffer, |
| size_t | bufsize, | ||
| const ApexArray< Dict > & | v | ||
| ) |
| APEX_API APEX_VoidTypeDefinition apex::void_type_defn |