34 #include "../api_core.h"
96 bool has_attribute_ns(
132 void set_attribute_ns(
141 void remove_attribute_ns(
192 int get_child_int(
const CL_DomString &name,
int default_value = 0)
const;
196 int get_child_int_ns(
const CL_DomString &namespace_uri,
const CL_DomString &local_name,
int default_value = 0)
const;
200 bool get_child_bool(
const CL_DomString &name,
bool default_value =
false)
const;
204 bool get_child_bool_ns(
const CL_DomString &namespace_uri,
const CL_DomString &local_name,
bool default_value =
false)
const;
216 void set_child_int(
const CL_DomString &name,
int value);
224 void set_child_bool(
const CL_DomString &name,
bool value);
237 int get_attribute_int(
const CL_DomString &name,
int default_value = 0)
const;
240 int get_attribute_int_ns(
const CL_DomString &namespace_uri,
const CL_DomString &local_name,
int default_value = 0)
const;
243 bool get_attribute_bool(
const CL_DomString &name,
bool default_value =
false)
const;
246 bool get_attribute_bool_ns(
const CL_DomString &namespace_uri,
const CL_DomString &local_name,
bool default_value =
false)
const;
249 float get_attribute_float(
const CL_DomString &name,
float default_value = 0.0f)
const;
252 float get_attribute_float_ns(
const CL_DomString &namespace_uri,
const CL_DomString &local_name,
float default_value = 0.0f)
const;
255 void set_attribute_int(
const CL_DomString &name,
int value);
261 void set_attribute_bool(
const CL_DomString &name,
bool value);
267 void set_attribute_float(
const CL_DomString &name,
float value,
int num_decimal_places = 6);
270 void set_attribute_float_ns(
const CL_DomString &namespace_uri,
const CL_DomString &qualified_name,
float value,
int num_decimal_places = 6);