Functions | |
| TLFUNCTIONS_DLL bool | TeCreateBasicDynamicCellTable (TeLayer *cell_layer, const string cell_tablename) |
| Creates dymanic table. | |
| TLFUNCTIONS_DLL bool | TeFillCellInitLoad (TeLayer *cell_layer, const string &cell_tablename, TeCellSet &cells) |
| Load cells geometries and verify/create dynamic attribute table if does not exists. | |
| TLFUNCTIONS_DLL void | TeFillCellInitSTO (const TeCell &cell, vector< string > &result, TeSTElementSet &cellObjSet, TeAttrTableType atttype, TeTimeInterval &t) |
| Fills the cell object set for a temporal table. | |
| TLFUNCTIONS_DLL void | TeFillCellInitSTO (const TeCell &cell, TePropertyVector &result, TeSTElementSet &cellObjSet, TeAttrTableType atttype, TeTimeInterval &t) |
| Fills the cell object set for a temporal table. | |
| TLFUNCTIONS_DLL bool TeCreateBasicDynamicCellTable | ( | TeLayer * | cell_layer, | |
| const string | cell_tablename | |||
| ) |
| TLFUNCTIONS_DLL bool TeFillCellInitLoad | ( | TeLayer * | cell_layer, | |
| const string & | cell_tablename, | |||
| TeCellSet & | cells | |||
| ) |
| TLFUNCTIONS_DLL void TeFillCellInitSTO | ( | const TeCell & | cell, | |
| vector< string > & | result, | |||
| TeSTElementSet & | cellObjSet, | |||
| TeAttrTableType | atttype, | |||
| TeTimeInterval & | t | |||
| ) |
Definition at line 759 of file TeCellAlgorithms.cpp.
References TeBaseSTInstance< GeometryType, TimeType >::addUniqueId(), TeTimeInterval::getFinalDate(), TeTimeInterval::getFinalTime(), TeTimeInterval::getInitialDate(), TeTimeInterval::getInitialTime(), TeBaseSTInstanceSet< GeometryType, TimeType, InstanceType >::insertSTInstance(), TeGeometry::objectId(), TeBaseSTInstance< GeometryType, TimeType >::objectId(), TeBaseSTInstance< GeometryType, TimeType >::setProperties(), TeAttrStatic, and TeSTInstance::timeInterval().
00760 { 00761 TeSTInstance cellObj; 00762 cellObj.objectId (cell.objectId()); 00763 string uniqueId = cell.objectId(); 00764 cellObj.addUniqueId (uniqueId); 00765 00766 if(atttype != TeAttrStatic) 00767 { 00768 uniqueId += t.getInitialDate() + t.getInitialTime(); 00769 uniqueId += t.getFinalDate() + t.getFinalTime (); 00770 00771 cellObj.addUniqueId (uniqueId); 00772 cellObj.timeInterval (t); 00773 } 00774 00775 cellObj.setProperties(result); 00776 cellObjSet.insertSTInstance (cellObj); 00777 return; 00778 }
| TLFUNCTIONS_DLL void TeFillCellInitSTO | ( | const TeCell & | cell, | |
| TePropertyVector & | result, | |||
| TeSTElementSet & | cellObjSet, | |||
| TeAttrTableType | atttype, | |||
| TeTimeInterval & | t | |||
| ) |
Definition at line 732 of file TeCellAlgorithms.cpp.
References TeBaseSTInstance< GeometryType, TimeType >::addPropertyValue(), TeBaseSTInstance< GeometryType, TimeType >::addUniqueId(), TeTimeInterval::getFinalDate(), TeTimeInterval::getFinalTime(), TeTimeInterval::getInitialDate(), TeTimeInterval::getInitialTime(), TeBaseSTInstanceSet< GeometryType, TimeType, InstanceType >::insertSTInstance(), TeGeometry::objectId(), TeBaseSTInstance< GeometryType, TimeType >::objectId(), TeAttrStatic, and TeSTInstance::timeInterval().
00733 { 00734 TeSTInstance cellObj; 00735 cellObj.objectId (cell.objectId()); 00736 string uniqueId = cell.objectId(); 00737 cellObj.addUniqueId (uniqueId); 00738 00739 if(atttype != TeAttrStatic) 00740 { 00741 uniqueId += t.getInitialDate() + t.getInitialTime(); 00742 uniqueId += t.getFinalDate() + t.getFinalTime (); 00743 00744 cellObj.addUniqueId (uniqueId); 00745 cellObj.timeInterval (t); 00746 } 00747 00748 TePropertyVector::iterator itProp = result.begin(); 00749 while (itProp != result.end()) 00750 { 00751 cellObj.addPropertyValue (itProp->value_); 00752 itProp++; 00753 } 00754 cellObjSet.insertSTInstance (cellObj); 00755 return; 00756 }
1.5.3