34 bool has_key(
const char *key)
const;
37 const Value read(
const char *key)
const;
41 bool as_bool(
const char *key )
const;
52 int as_int(
const char *key )
const;
63 float as_float(
const char *key )
const;
74 double as_double(
const char *key )
const;
81 double as_double(
const char *key,
double default_value )
const;
85 const std::string& as_string(
const char *key )
const;
92 const std::string& as_string(
const char* key,
const std::string&
default_value)
const;
96 std::wstring as_wstring(
const char *key )
const;
103 std::wstring as_wstring(
const char* key,
const std::wstring&
default_value)
const;
140 const Imath::V2d& as_V2d(
const char *key )
const;
151 const Imath::V3d& as_V3d(
const char *key )
const;
162 const Imath::V4d& as_V4d(
const char *key )
const;
184 const Imath::M44d& as_M44d(
const char *key )
const;
260 using pointer = std::pair<std::string, Value>;
274 Values(
const std::shared_ptr< Impl >& node )
280 std::shared_ptr< Impl > _node;
283 Values values()
const;
285 bool empty() const noexcept;
286 size_t size() const noexcept;
290 bool insert(const
StringView& key, const Value &value);
300 Dict(
std::shared_ptr<Impl> impl) { _impl=impl; }
Definition: ImathBox.h:71
Definition: ImathFrame.h:42
Definition: ImathFrame.h:43
std::ptrdiff_t difference_type
Definition: Dict.h:259
Definition: ImathVec.h:63
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
StringViewBase< char, std::string > StringView
Definition: StringView.h:376
MAQUINA_EXPORT Value default_value(const maquina::StringView &type_name)
Return the default value of a type.
A value accessor.
Definition: Dict.h:250
std::pair< std::string, Value > value_type
Definition: Dict.h:258
An array of values.
Definition: Array.h:26
std::pair< std::string, Value > reference
Definition: Dict.h:261
Definition: ImathQuat.h:71
#define MAQUINA_EXPORT
Definition: Export.h:31
bool operator!=(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:306
Definition: ImathVec.h:61
A Plug iterator.
Definition: Dict.h:254
bool operator==(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:274
Color4< T > operator*(S a, const Color4< T > &v)
Definition: ImathColor.h:727
A dictionnary to associate strings to values.
Definition: Dict.h:24
std::pair< std::string, Value > pointer
Definition: Dict.h:260
Values(const std::shared_ptr< Impl > &node)
Definition: Dict.h:274
std::forward_iterator_tag iterator_category
Definition: Dict.h:257
Base class of all Rumba values.
Definition: Value.h:34