19 #ifndef AGXPYTHON_SCRIPTIDEDATA_H 20 #define AGXPYTHON_SCRIPTIDEDATA_H 1 22 #include <agx/config/AGX_USE_PYTHON.h> 45 ScriptIDEData(
size_t numberOfColumns);
48 ScriptIDEData(
const ScriptIDEData& copy);
61 virtual bool matching(
const agx::String& regex)
const;
63 virtual size_t hash()
const;
69 virtual bool isGood()
const = 0;
73 bool operator()(
size_t lhs,
size_t rhs)
const 83 virtual ~ScriptIDEData();
85 virtual bool matching_single(
size_t i,
const agx::String& regex)
const;
101 typedef ScriptIDEDataRef elem_type;
102 typedef std::map<size_t, elem_type, ScriptIDEData::compare> container_type;
103 typedef container_type::iterator iterator_type;
104 typedef std::vector<elem_type> range_type;
106 const agx::Name& getCollectionTypeName()
const;
108 virtual bool add(ScriptIDEDataRef item);
110 virtual void clear();
112 virtual range_type equal_range(
const agx::String& regexFilter =
"");
114 iterator_type
begin() {
return m_data.begin(); }
115 iterator_type
end() {
return m_data.end(); }
118 ScriptIDEDataCollection(
const agx::Name& collectionTypeName);
120 virtual ~ScriptIDEDataCollection();
126 container_type m_data;
AGXCORE_EXPORT UInt32 hash(const T &key)
AGXTERRAIN_EXPORT void clear()
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
Base class providing referencing counted objects.
LinearProbingHashSetImplementation< KeyT, HashT >::iterator begin(LinearProbingHashSetImplementation< KeyT, HashT > &set)
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)