14 #ifndef GEOMTOOLS_BASE_HIT_H 15 #define GEOMTOOLS_BASE_HIT_H 1 19 #include <boost/serialization/access.hpp> 20 #include <boost/cstdint.hpp> 139 virtual void clear ();
162 virtual void tree_dump (std::ostream & a_out = std::clog,
163 const std::string & a_title =
"",
164 const std::string & a_indent =
"",
165 bool a_inherit =
false)
const;
176 void print_tree(std::ostream & out_ = std::clog,
232 std::vector<std::string> values_;
238 const std::string & a_value)
241 values_.push_back (a_value);
247 const std::vector<std::string> & a_values)
260 return (std::find (values_.begin (),
262 str) != values_.end ());
332 return (! (*pred_)(a_hit));
383 #include <boost/serialization/export.hpp> 390 #include <boost/serialization/version.hpp> 393 #define GEOMTOOLS_HIT_REGISTRATION_INTERFACE(HitClassName) \ 395 DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_INTERFACE(::geomtools::base_hit,HitClassName) \ 398 #define GEOMTOOLS_HIT_REGISTRATION_IMPLEMENT(HitClassName,HitClassId) \ 399 DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION(::geomtools::base_hit,HitClassName,HitClassId) \ 402 #endif // GEOMTOOLS_BASE_HIT_H
#define DR_CLASS_INIT(Introspectable)
Inform Camp that class Introspectable exists and trigger the automatic registration of dedicated refl...
Definition: reflection_interface.h:149
#define DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_INTERFACE(BaseType, DerivedType)
Interface macro of the automated registration for derived classes.
Definition: factory_macros.h:87
#define DATATOOLS_SERIALIZATION_DECLARATION()
Definition: i_serializable.h:266
#define DR_CLASS_RTTI()
Declare Camp RTTI within class declaration.
Definition: reflection_interface.h:46
#define DATATOOLS_FACTORY_SYSTEM_REGISTER_INTERFACE(BaseType)
Declaration of a system (allocator/functor) factory register as a static member of a base class and s...
Definition: factory_macros.h:52