27 MBool success =
false;
64 message.append(
"GeometryContext::getProperty Property: \"");
66 message.append(
"\" not found!");
77 MBool propertyFound =
false;
79 DEBUG(
"GeometryContext::getProperty segmentId:" << i->second->segmentId, MAIA_DEBUG_USER1);
80 if(i->second->segmentId == segmentId) {
93 DEBUG(
"GeometryContext::getProperty :" << name <<
" using standard property", MAIA_DEBUG_USER1);
95 DEBUG(
"GeometryContext::getProperty :" << name <<
" no standard value found !", MAIA_DEBUG_USER1);
111 DEBUG(
"GeometryProperty::clear() name : " << i->second->name, MAIA_DEBUG_IO);
112 DEBUG(
"GeometryProperty::clear() segmentId : " << i->second->segmentId, MAIA_DEBUG_IO);
118 DEBUG(
"GeometryProperty::clear() name : " << i->second->name, MAIA_DEBUG_IO);
119 DEBUG(
"GeometryProperty::clear() noSegments : " << i->second->noSegments, MAIA_DEBUG_IO);
120 delete[] i->second->segments;
135 const pair<const MString, GeometryProperty*> mp(p->name, p);
std::pair< geometryPropertyMap::iterator, geometryPropertyMap::iterator > m_pair
geometryPropertyMap * m_geometryPropertyMap
geometryAssembly * m_geometryAssembly
void init()
This intializes the property Map.
MBool propertyExists(MString name, MInt solver)
GeometryProperty * getProperty(const MString &name, MInt segment)
void readPropertyFile(FileType, const MChar *fileName)
GeometryIOBase * m_geometryIOBase
void writeProperties(MChar *fileName)
This function writes all properties in a property File.
void addProperty(GeometryProperty *)
This method adds properties.
virtual MInt segmentCount()=0
virtual void writeProperties(const MChar *, geometryPropertyMap *)
virtual geometryAssembly * readPropertyFile(MString fileName)=0
const MString const MString & message
std::multimap< MString, GeometryProperty * > geometryPropertyMap
geometryPropertyMap::const_iterator geometryPropertyIterator
std::map< MString, Body * > bodyMap
bodyMap::const_iterator bodyIterator
std::basic_string< char > MString
geometryPropertyMap * geometryProperties