82 if( _polylines.back() == 0)
83 std::cerr <<
"ERROR: Polyine get_source_polyline_collections fatal error\n";
86 return ( !_polylines.empty() );
102 if( _polylines.back() == 0)
103 std::cerr <<
"ERROR: Polyine getTargetPolylines fatal error\n";
106 return ( !_polylines.empty() );
126 return ( _object != 0 );
bool getSourcePolylineCollections(std::vector< PolyLineCollection *> &_polylines)
Get a pointer to every Polyline Collection which is marked as a source.
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
bool getTargetPolylines(std::vector< PolyLine *> &_polylines)
Get a pointer to every Polyline which is marked as a target.
PolyLineCollectionObject * polyLineCollectionObject(BaseObjectData *_object)
Cast an BaseObject to a Polyline Collection Object if possible.
bool dataType(DataType _type) const
const QStringList TARGET_OBJECTS("target")
Iterable object range.
bool getObject(const int _identifier, BaseObject *&_object)
Get the object which has the given identifier.
PolyLineCollection * collection()
return a pointer to the line
#define DATA_POLY_LINE_COLLECTION
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
PolyLineCollection * polyLineCollection(BaseObjectData *_object)
Get a polyLine Collection from an object.