33 bool has_key(
const char *key)
const;
36 const Value read(
const char *key)
const;
40 bool as_bool(
const char *key )
const;
47 bool as_bool(
const char *key,
bool default_value )
const;
51 int as_int(
const char *key )
const;
58 int as_int(
const char *key,
int default_value )
const;
62 float as_float(
const char *key )
const;
69 float as_float(
const char* key,
float default_value)
const;
73 double as_double(
const char *key )
const;
80 double as_double(
const char *key,
double default_value )
const;
84 const std::string& as_string(
const char *key )
const;
107 const Imath::V2d& as_V2d(
const char *key )
const;
111 const Imath::V3d& as_V3d(
const char *key )
const;
122 const Imath::V4d& as_V4d(
const char *key )
const;
130 const Imath::M44d& as_M44d(
const char *key )
const;
151 public std::iterator<
152 std::forward_iterator_tag,
153 std::pair<std::string, Value>, std::ptrdiff_t, std::pair<std::string, Value>, std::pair<std::string, Value> >
167 Values(
const std::shared_ptr< Impl >& node )
173 std::shared_ptr< Impl > _node;
176 Values values()
const;
180 void insert(
const char *key,
const Value &value);
186 Dict(std::shared_ptr<Impl> impl) { _impl=impl; }
Definition: ImathBox.h:71
MAQUINA_EXPORT Node reference(Node &root, const std::wstring &filepath, const std::string &reference_root_name="")
Reference the content of a file into the project.
Definition: ImathFrame.h:42
Definition: ImathFrame.h:43
Definition: ImathVec.h:63
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
A value accessor.
Definition: Dict.h:146
static const Dict default_value
The default value.
Definition: Dict.h:183
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:305
Definition: ImathVec.h:61
A Plug iterator.
Definition: Dict.h:150
bool operator==(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:273
Color4< T > operator*(S a, const Color4< T > &v)
Definition: ImathColor.h:727
A dictionnary to associate strings to values.
Definition: Dict.h:23
Values(const std::shared_ptr< Impl > &node)
Definition: Dict.h:167
Base class of all Rumba values.
Definition: Value.h:34