22 #ifndef QDENGINE_QDCORE_QD_NAMED_OBJECT_REFERENCE_H 23 #define QDENGINE_QDCORE_QD_NAMED_OBJECT_REFERENCE_H 25 #include "qdengine/qd_fwd.h" 26 #include "qdengine/parser/xml_fwd.h" 27 #include "qdengine/qdcore/qd_named_object.h" 45 int num_levels()
const {
46 return _object_types.size();
48 int object_type(
int level = 0)
const {
49 return _object_types[level];
51 const char *object_name(
int level = 0)
const {
52 return _object_names[level].c_str();
54 bool is_empty()
const {
55 return _object_types.empty();
61 _object_types.clear();
62 _object_names.clear();
81 static int _objects_counter;
86 #endif // QDENGINE_QDCORE_QD_NAMED_OBJECT_REFERENCE_H
Поименованный объект.
Definition: qd_named_object.h:70
Definition: qd_named_object_reference.h:35
XML тег.
Definition: xml_tag.h:33
Базовый класс для игровых ресурсов.
Definition: console.h:28
Definition: algorithm.h:29