27 #ifndef _ODDBDATABASE_INCLUDED_
28 #define _ODDBDATABASE_INCLUDED_
94 class OdDbDatabaseImpl;
578 bool createIfNotFound =
true)
const;
585 bool createIfNotFound =
true)
const;
592 bool createIfNotFound =
true)
const;
599 bool createIfNotFound =
true)
const;
611 bool createIfNotFound =
true)
const;
618 bool createIfNotFound =
true)
const;
625 bool createIfNotFound =
true)
const;
632 bool createIfNotFound =
true)
const;
639 bool createIfNotFound =
true)
const;
647 bool createIfNotFound =
true)
const;
666 bool createIfNotFound =
true)
const;
685 bool createIfNotFound =
true)
const;
704 bool createIfNotFound =
true)
const;
768 bool createIfNotFound =
false)
const;
786 bool createIfNotFound =
false)
const;
836 bool createIfNotFound =
false,
881 bool saveThumbnailImage =
false,
882 int dxfPrecision = 16);
927 bool saveThumbnailImage =
false,
928 int dxfPrecision = 16)
933 writeFile(pFile,
fileType, fileVersion, saveThumbnailImage, dxfPrecision);
945 bool saveThumbnailImage =
false);
957 bool saveThumbnailImage =
false);
982 bool partialLoad =
false,
985 bool allowCPConversion =
false );
1007 bool partialLoad =
false,
1010 bool allowCPConversion =
false )
1222 bool deferXlation =
false);
1263 bool deferXlation =
false);
1356 const void* pBMPData,
1379 #define VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2)\
1380 SVARS_FUNC_MODIFIER type get##name() const;
1387 #define RO_VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2)
1388 #define VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2)\
1389 SVARS_FUNC_MODIFIER void set##name(type val);
1396 #define VAR_DEF(type, name, dxf, def_value, metric_def_value, reserve1, reserve2)\
1397 virtual type dim##name() const;\
1398 virtual void setDim##name(type val);
1646 bool allowModel)
const;
1828 const OdString& destinationBlockName,
1830 bool preserveSourceDatabase =
true);
1867 const OdString& destinationBlockName,
1869 bool preserveSourceDatabase =
true);
1905 bool preserveSourceDatabase =
true);
1960 bool setDbMod =
true);
2347 friend class OdDbDatabaseImpl;
OdSmartPtr< OdDbTextStyleTableRecord > OdDbTextStyleTableRecordPtr
TOOLKIT_EXPORT void odDbSetPUCSORG(OdDbDatabase &db, OdGePoint3d val)
OdSmartPtr< OdDbUCSTable > OdDbUCSTablePtr
OdSmartPtr< OdDbViewportTable > OdDbViewportTablePtr
TOOLKIT_EXPORT OdUInt32 getGapsAmount(OdDbDatabase *pDb)
TOOLKIT_EXPORT void odDbSetUCSXDIR(OdDbDatabase &db, OdGeVector3d val)
OdSmartPtr< OdDbSymbolTable > OdDbSymbolTablePtr
OdSmartPtr< OdDbObjectContextManager > OdDbObjectContextManagerPtr
TOOLKIT_EXPORT void odDbSetTDUCREATE(OdDbDatabase &db, OdDbDate val)
OdSmartPtr< OdResBuf > OdResBufPtr
TOOLKIT_EXPORT void odDbSetPSTYLEMODE(OdDbDatabase &db, bool val)
TOOLKIT_EXPORT void odDbSaveLineTypeFile(OdDbDatabase &Db, OdStreamBuf &filename, OdDb::TextFileEncoding encode=OdDb::kTextFileEncodingDefault)
OdSmartPtr< OdDbViewTable > OdDbViewTablePtr
TOOLKIT_EXPORT void odDbSaveMlineStyleFile(OdDbDatabase &Db, OdStreamBuf &filename)
TOOLKIT_EXPORT void odDbSetTDINDWG(OdDbDatabase &db, OdDbDate val)
TOOLKIT_EXPORT void odDbSetDWGCODEPAGE(OdDbDatabase &db, OdCodePageId val)
TOOLKIT_EXPORT OdRxClass * getClassByName(OdDbDatabase *pDb, const OdString &className)
OdSmartPtr< OdDbLayerTable > OdDbLayerTablePtr
TOOLKIT_EXPORT void odDbSetTDUSRTIMER(OdDbDatabase &db, OdDbDate val)
TOOLKIT_EXPORT void odDbSetPUCSXDIR(OdDbDatabase &db, OdGeVector3d val)
OdSmartPtr< OdDbDimStyleTable > OdDbDimStyleTablePtr
TOOLKIT_EXPORT void odDbSetUCSYDIR(OdDbDatabase &db, OdGeVector3d val)
TOOLKIT_EXPORT void odDbSetUCSORG(OdDbDatabase &db, OdGePoint3d val)
TOOLKIT_EXPORT void odDbGetPreviewBitmap(OdStreamBuf *pStreamBuf, OdThumbnailImage *pPreview)
OdSmartPtr< OdDbBlockTableRecord > OdDbBlockTableRecordPtr
TOOLKIT_EXPORT OdResult validateDrawingSignature(const OdString &drawingFullPath, OdCryptoServices::OdSignatureVerificationResult &verificationResult, OdSignatureDescription &signatureDesc)
OdSmartPtr< OdDbLinetypeTableRecord > OdDbLinetypeTableRecordPtr
OdSmartPtr< OdDbDatabase > OdDbDatabasePtr
OdSmartPtr< OdDbRegAppTableRecord > OdDbRegAppTableRecordPtr
OdSmartPtr< OdDbDictionaryWithDefault > OdDbDictionaryWithDefaultPtr
TOOLKIT_EXPORT void odDbSetTDUUPDATE(OdDbDatabase &db, OdDbDate val)
OdSmartPtr< OdDbBlockTable > OdDbBlockTablePtr
TOOLKIT_EXPORT OdDbDataLinkManager * odDbGetDataLinkManager(OdDbDatabase *db)
void TOOLKIT_EXPORT fxSetHandseed(OdDbDatabase *pDb, OdDbHandle handseed)
OdSmartPtr< OdDbLinetypeTable > OdDbLinetypeTablePtr
OdSmartPtr< OdDbRegAppTable > OdDbRegAppTablePtr
OdSmartPtr< OdSecurityParams > OdSecurityParamsPtr
TOOLKIT_EXPORT void odDbSetPUCSYDIR(OdDbDatabase &db, OdGeVector3d val)
TOOLKIT_EXPORT void odDbLoadMlineStyleFile(OdDbDatabase &db, const OdString &patternName, OdStreamBuf &filename, OdDb::DuplicateLinetypeLoading dlt=OdDb::kDltNotApplicable)
OdSmartPtr< OdFileDependencyManager > OdFileDependencyManagerPtr
OdSmartPtr< OdDbTextStyleTable > OdDbTextStyleTablePtr
OdSmartPtr< OdDbDimStyleTableRecord > OdDbDimStyleTableRecordPtr
OdSmartPtr< OdDbDictionary > OdDbDictionaryPtr
TOOLKIT_EXPORT OdDbSystemServices * odSystemServices()
OdSignatureVerificationResult
OdDbObjectId getDimstyleParentId(const OdDbObjectId &childStyle) const
virtual void setCurrentLayout(const OdString &layoutName)
void restoreForwardingXrefSymbols()
void setCurrentUCS(const OdGePoint3d &origin, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis)
void blockUndoRecording(bool bBegin)
OdDb::DwgVersion version(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDbDate getTDCREATE() const
OdDbObjectId getVisualStyleDictionaryId(bool createIfNotFound=true) const
OdDbObjectId insert(const OdString &sourceBlockName, const OdString &destinationBlockName, OdDbDatabase *pSource, bool preserveSourceDatabase=true)
OdResult getDimstyleChildData(const OdRxClass *pDimClass, OdDbDimStyleTableRecord *pRec, OdDbObjectId &style) const
OdDbAuditInfo * auditInfo() const
OdDbObjectId globalMaterialId() const
OdDbObjectId getPointCloudDictionaryId() const
void setSysVar(const OdString &name, const OdResBuf *pValue)
OdDbObjectId getPlotSettingsDictionaryId(bool createIfNotFound=true) const
OdDbObjectId currentLayoutId() const
void readFile(const OdString &filename, bool partialLoad=false, Oda::FileShareMode shareMode=Oda::kShareDenyWrite, const OdPassword &password=OdPassword(), bool allowCPConversion=false)
virtual OdString getFilename() const
virtual void abortTransaction()
OdDb::DwgVersion lastSavedAsVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
ODRX_DECLARE_MEMBERS(OdDbDatabase)
OdDbObjectId insert(const OdString &destinationBlockName, OdDbDatabase *pSource, bool preserveSourceDatabase=true)
OdDbObjectId getMLStyleDictionaryId(bool createIfNotFound=true) const
OdDbObjectId mleaderstyle() const
void setSecurityParams(const OdSecurityParams &secParams, bool setDbMod=true)
OdDbObjectId getDimStyleTableId() const
OdDbObjectId getSectionViewStyleDictionaryId(bool createIfNotFound=true) const
OdResult subGetClassID(void *pClsid) const
virtual void addTransactionReactor(OdDbTransactionReactor *reactor)
OdDbDate getTDUPDATE() const
OdDbObjectContextManagerPtr objectContextManager() const
OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setMLeaderstyle(OdDbObjectId objectId)
virtual void deleteLayout(const OdString &layoutName)
OdDbObjectId getDimstyleChildId(const OdRxClass *pDimClass, const OdDbObjectId &parentStyle) const
virtual int numActiveTransactions()
OdDbObjectId getUCSTableId() const
void setTablestyle(OdDbObjectId objectId)
OdDbObjectId getLinetypeTableId() const
virtual OdDbObjectId findLayoutNamed(const OdString &layoutName) const
virtual void setMultiThreadedMode(OdDb::MultiThreadedMode)
void setDetailViewStyle(OdDbObjectId objectId)
OdDbObjectId activeViewportId() const
void addReactor(OdDbDatabaseReactor *pReactor) const
virtual void removeTransactionReactor(OdDbTransactionReactor *reactor)
virtual void startTransaction()
OdGePoint3d getUCSBASEORG(OdDb::OrthographicView viewType) const
virtual void purge(OdDbObjectIdArray &objectIds) const
void setUCSBASEORG(OdDb::OrthographicView viewType, const OdGePoint3d &origin)
bool securityParams(OdSecurityParams &secParams) const
OdFileDependencyManagerPtr fileDependencyManager() const
static OdDb::LineWeight getNearestLineWeight(int weight)
void abortDeepClone(OdDbIdMapping &idMap)
void setThumbnailBitmap(const void *pBMPData, OdUInt32 dataLength)
void setDimstyleData(OdDbObjectId objectId)
OdDb::DwgVersion originalFileVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDbLayerStateManager * getLayerStateManager() const
OdDbObjectId dataLinkDictionaryId(void) const
virtual void renameLayout(const OdString &oldName, const OdString &newName)
OdDbObjectId getLinetypeContinuousId() const
OdDbHostAppServices * appServices() const
OdDbObjectId getLayoutDictionaryId(bool createIfNotFound=true) const
void deepCloneObjects(const OdDbObjectIdArray &objectIds, OdDbObjectId ownerId, OdDbIdMapping &idMap, bool deferXlation=false)
OdDbObjectId getTableStyleDictionaryId(bool createIfNotFound=true) const
void auditDatabase(OdDbAuditInfo *pAuditInfo)
OdDbObjectId getViewTableId() const
void setSectionViewStyle(OdDbObjectId objectId)
void readFile(OdStreamBuf *pStreamBuf, bool partialLoad=false, OdDbAuditInfo *pAuditInfo=0, const OdPassword &password=OdPassword(), bool allowCPConversion=false)
void initialize(OdDb::MeasurementValue measurement=OdDb::kEnglish)
OdDbObjectId getPaperSpaceId() const
bool isPartiallyOpened() const
bool isMultiThreadedMode() const
const OdString classDxfName(const OdRxClass *pClass)
OdDbObjectId getMaterialDictionaryId(bool createIfNotFound=true) const
OdInt32 numberOfSaves() const
OdDbObjectId getModelSpaceId() const
OdDbObjectId getLayerZeroId() const
void initialize(OdDb::MeasurementValue measurement, bool bVisualStyles)
virtual OdResult purge(OdDbObjectIdGraph &objectIds) const
OdDbAnnotationScalePtr cannoscale() const
OdDbObjectId getLayerDefpointsId(bool createIfNotFound=false) const
void removeReactor(OdDbDatabaseReactor *pReactor) const
virtual OdDbObjectId getActiveLayoutBTRId() const
OdDbObjectId sectionViewStyle() const
OdDbObjectId getBlockTableId() const
OdResBufPtr getSysVar(const OdString &name) const
OdDbObjectId byLayerMaterialId() const
void restoreOriginalXrefSymbols()
void setCurrentUCS(OdDb::OrthographicView viewType)
void save(OdStreamBuf *pStreamBuf, bool saveThumbnailImage=false)
OdDbHistoryManager * historyManager()
void applyPartialUndo(OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
OdDbObjectId getGroupDictionaryId(bool createIfNotFound=true) const
OdDbObjectId getNamedObjectsDictionaryId() const
virtual void setCurrentLayout(const OdDbObjectId &layoutId)
OdDbObjectId getOdDbObjectId(const OdDbHandle &objHandle, bool createIfNotFound=false, OdUInt32 xRefId=0)
OdDbObjectId getLayerTableId() const
OdDbObjectId getDetailViewStyleDictionaryId(bool createIfNotFound=true) const
void audit(OdDbAuditInfo *pAuditInfo)
OdDbObjectId xrefBlockId() const
OdDbObjectId getRegAppAcadId() const
OdDbObjectId getSectionManager() const
OdDbObjectId getLinetypeByBlockId() const
OdDbObjectId getLayerAdskId(OdDb::LayerAdskType layerType, bool createIfNotFound=false) const
virtual OdString findActiveLayout(bool allowModel) const
void save(const OdString &filename, bool saveThumbnailImage=false)
OdDbObjectId getRegAppTableId() const
OdDbObjectId addOdDbObject(OdDbObject *pObject, OdDbObjectId ownerId=OdDbObjectId::kNull, OdDbHandle handle=0)
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbObjectId tablestyle() const
OdDbHandle handseed() const
OdDbObjectId getColorDictionaryId(bool createIfNotFound=true) const
OdDbObjectId getDimStyleStandardId() const
bool isUndoBlockStarted()
void wblockCloneObjects(const OdDbObjectIdArray &objectIds, OdDbObjectId ownerId, OdDbIdMapping &idMap, OdDb::DuplicateRecordCloning duplicateRecordCloning, bool deferXlation=false)
void enableGraphicsFlush(bool bEnable)
bool newRegApp(const OdString ®AppName)
OdDbObjectId getScaleListDictionaryId(bool createIfNotFound=true) const
OdDb::MultiThreadedMode multiThreadedMode() const
bool retainOriginalThumbnailBitmap() const
const void * thumbnailBitmap(OdUInt32 &dataLength) const
OdDbObjectId getTextStyleTableId() const
void updateExt(bool bExact=false)
OdDbObjectId byBlockMaterialId() const
OdDbObjectId detailViewStyle() const
virtual void endTransaction()
void setRetainOriginalThumbnailBitmap(bool retain)
OdInt32 approxNumObjects() const
OdDbObjectId getMLeaderStyleDictionaryId(bool createIfNotFound=true) const
bool isDatabaseConverting() const
OdGePoint3d getPUCSBASEORG(OdDb::OrthographicView viewType) const
OdDbObjectId getPlotStyleNameDictionaryId(bool createIfNotFound=true) const
OdDbObjectId getViewportTableId() const
virtual void countHardReferences(const OdDbObjectIdArray &objectIds, OdUInt32 *counts) const
OdDbObjectId getLinetypeByLayerId() const
void setDimstyleData(const OdDbDimStyleTableRecord *pSource)
void getDimstyleData(OdDbDimStyleTableRecord *pDestination) const
OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *) const
OdDbDwgFiler * undoFiler()
OdDbDatabasePtr wblock(OdDbObjectId blockId)
void insert(const OdGeMatrix3d &xfm, OdDbDatabase *pSource, bool preserveSourceDatabase=true)
void setCannoscale(OdDbAnnotationScale *val)
virtual int countLayouts() const
void writeFile(const OdString &filename, OdDb::SaveType fileType, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false, int dxfPrecision=16)
OdDbObjectId getTextStyleStandardId() const
OdDbDictionaryPtr dataLinkDictionary(OdDb::OpenMode mode)
static bool isValidLineWeight(int weight)
OdDbDatabasePtr wblock(const OdDbObjectIdArray &outObjIds, const OdGePoint3d &basePoint)
void loadLineTypeFile(const OdString <Name, const OdString &filename, OdDb::DuplicateLinetypeLoading dlt=OdDb::kDltNotApplicable, OdDb::TextFileEncoding encode=OdDb::kTextFileEncodingDefault)
OdDb::SaveType originalFileType() const
void setCurrentUCS(const OdDbObjectId &ucsId)
void setPUCSBASEORG(OdDb::OrthographicView viewType, const OdGePoint3d &origin)
void writeFile(OdStreamBuf *pStreamBuf, OdDb::SaveType fileType, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false, int dxfPrecision=16)
bool isDatabaseLoading() const
virtual OdDbUnitsFormatter & formatter()
OdDb::DwgVersion originalFileSavedByVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
virtual OdDbObjectId createLayout(const OdString &layoutName, OdDbObjectId *pBlockTableRecId=0)
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
virtual OdStreamBufPtr createFile(const OdString &filename, Oda::FileAccessMode accessMode=Oda::kFileRead, Oda::FileShareMode shareMode=Oda::kShareDenyNo, Oda::FileCreationDisposition creationDisposition=Oda::kOpenExisting)
GLuint const GLchar * name
@ kTrimSecond
The second fillet is trimmed.
@ kTrimBoth
Both fillets are trimmed.
@ kTrimNone
No fillet is trimmed.
@ kTrimFirst
The first fillet is trimmed.
TOOLKIT_EXPORT DwgVersion DwgVersionFromStr(const char *str)
@ kDltReplace
Replace duplicate Linetypes.
@ kDltIgnore
Ignore duplicate Linetypes.
@ kDltNotApplicable
Not Applicable.
@ kEndCapSquare
Squared endcap.
@ kEndCapRound
Rounded endcap.
@ kEndCapAngle
Angled endcap.
@ kTextFileEncodingUTF32
Chooses UTF32 endian automatically.
@ kTextFileEncodingUTF16
Chooses UTF16 endian automatically.
@ kTextFileEncodingUTF16BE
UTF16 BigEndian.
@ kTextFileEncodingUTF8
Uses UTF8 encoding for file writing.
@ kTextFileEncodingUTF32LE
UTF32 LittleEndian.
@ kTextFileEncodingANSI
Forces ANSI character set encoding text writing.
@ kTextFileEncodingUTF16LE
UTF16 LittleEndian.
@ kTextFileEncodingUTF32BE
UTF32 BigEndian.
@ kTextFileEncodingDefault
Chooses the current system encoding automatically.
@ kProxyShow
Proxy images are shown.
@ kProxyNotShow
Proxy images are not shown.
@ kProxyBoundingBox
Proxy images are shown as a bounding box.
TOOLKIT_EXPORT const char * DwgVersionToStr(DwgVersion ver)
@ kLoftSimplify
Simplifyed lofting.
@ kLoftNoParam
No loft parameters.
@ kLoftAlignDirection
Lofting alining in a specified direction.
@ kLoftPeriodic
Periodic lofting.
@ kLoftClose
Closed lofting.
@ kLoftDefault
Default lofting settings.
@ kLoftNoTwist
No twisted lofting.
@ kLoftLastNormal
Normal of the lofted object surface is the normal to the last cross section curve as well.
@ kLoftEndsNormal
Normal of the lofted object surface is also the normal to both first and last cross section curves.
@ kLoftSmooth
Body or surface of the lofted object are specified with smooth lines between cross section curves.
@ kLoftUseDraftAngles
Body or surface of the lofted object are specified with angle and cone constraints of the first and l...
@ kLoftRuled
Body or surface of the lofted object are specified with lines between cross section curves.
@ kLoftAllNormal
Normal of the lofted object surface is also the normal to all cross section curves.
@ kLoftFirstNormal
Normal of the lofted object surface is the normal to the first cross section curve as well.
@ kLayerSystemLights
System lights layer type.
@ kLayerConstraints
System constraints layer type.
@ kEnglish
English system.
@ kCollisionTypeSolid
The entity is involved in collision detection and acts as a solid object in it.
@ kCollisionTypeNone
The entity is not involved in collision detection.
@ kBrisbane
(GMT+10:00) Brisbane
@ kNewfoundland
(GMT-03:30) Newfoundland and Labrador
@ kPrague
(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
@ kCaucasus
(GMT+04:00) Baku, Tbilisi, Yerevan
@ kTokyo
(GMT+09:00) Osaka, Sapporo, Tokyo
@ kKolkata
(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi
@ kBerlin
(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
@ kAzores
(GMT-01:00) Azores
@ kDhaka
(GMT+06:00) Astana, Dhaka
@ kEastern
(GMT-05:00) Eastern Time (US & Canada)
@ kCentralAmerica
(GMT-06:00) Central America
@ kGuam
(GMT+10:00) Guam, Port Moresby
@ kEastAfrica
(GMT+03:00) Nairobi
@ kIslamabad
(GMT+05:00) Islamabad, Karachi, Tashkent
@ kBeijing
(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi
@ kMagadan
(GMT+11:00) Magadan, Solomon Is., New Caledonia
@ kPacific
(GMT-08:00) Pacific Time (US & Canada); Tijuana
@ kYakutsk
(GMT+09:00) Yakutsk
@ kCapeVerde
(GMT-01:00) Cape Verde Islands
@ kCentral
(GMT-06:00) Central Time (US & Canada)
@ kRangoon
(GMT+06:30) Rangoon
@ kAlaska
(GMT-09:00) Alaska
@ kAbuDhabi
(GMT+04:00) Abu Dhabi, Muscat
@ kTaipei
(GMT+08:00) Taipei
@ kHawaii
(GMT-10:00) Hawaii
@ kTehran
(GMT+03:30) Tehran
@ kGMT
(GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London
@ kPerth
(GMT+08:00) Perth
@ kSaskatchewan
(GMT-06:00) Saskatchewan
@ kMountain
(GMT-07:00) Mountain Time (US & Canada)
@ kFiji
(GMT+12:00) Fiji, Kamchatka, Marshall Is.
@ kKathmandu
(GMT+05:45) Kathmandu
@ kMexicoCity
(GMT-06:00) Guadalajara, Mexico City, Monterrey
@ kTonga
(GMT+13:00) Nuku'alofa
@ kSantiago
(GMT-04:00) Santiago
@ kBangkok
(GMT+07:00) Bangkok, Hanoi, Jakarta
@ kKabul
(GMT+04:30) Kabul
@ kSriLanka
(GMT+06:00) Sri Jayawardenepura
@ kAthens
(GMT+02:00) Athens, Beirut, Istanbul, Minsk
@ kIrkutsk
(GMT+08:00) Irkutsk, Ulaan Bataar
@ kMazatlan
(GMT-07:00) Chihuahua, La Paz, Mazatlan
@ kCairo
(GMT+02:00) Cairo
@ kVladivostock
(GMT+10:00) Vladivostok
@ kCaracas
(GMT-04:00) Caracas, La Paz
@ kMonrovia
(GMT) Casablanca, Monrovia
@ kSydney
(GMT+10:00) Canberra, Melbourne, Sydney
@ kAdelaide
(GMT+09:30) Adelaide
@ kEasternEurope
(GMT+02:00) Bucharest
@ kInternationalDateLine
(GMT-12:00) International Date Line West
@ kSingapore
(GMT+08:00) Kuala Lumpur, Singapore
@ kHelsinki
(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
@ kHarare
(GMT+02:00) Harare, Pretoria
@ kWestCentralAfrica
(GMT+01:00) West Central Africa
@ kMoscow
(GMT+03:00) Moscow, St. Petersburg, Volgograd
@ kBogota
(GMT-05:00) Bogota, Lima, Quito
@ kSarajevo
(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb
@ kSeoul
(GMT+09:00) Seoul
@ kArizona
(GMT-07:00) Arizona
@ kDarwin
(GMT+09:30) Darwin
@ kGreenland
(GMT-03:00) Greenland
@ kAtlanticCanada
(GMT-04:00) Atlantic Time (Canada)
@ kIndiana
(GMT-05:00) Indiana (East)
@ kWellington
(GMT+12:00) Auckland, Wellington
@ kParis
(GMT+01:00) Brussels, Copenhagen, Madrid, Paris
@ kBuenosAires
(GMT-03:00) Buenos Aires, Georgetown
@ kMidwayIsland
(GMT-11:00) Midway Island, Samoa
@ kAlmaty
(GMT+06:00) Almaty, Novosibirsk
@ kJerusalem
(GMT+02:00) Jerusalem
@ kEkaterinburg
(GMT+05:00) Ekaterinburg
@ kUTC
(UTC) Universal Coordinated Time
@ kRiyadh
(GMT+03:00) Kuwait, Riyadh
@ kBrasilia
(GMT-03:00) Brasilia
@ kHobart
(GMT+10:00) Hobart
@ kMidAtlantic
(GMT-02:00) Mid-Atlantic
@ kBaghdad
(GMT+03:00) Baghdad
@ kKrasnoyarsk
(GMT+07:00) Krasnoyarsk
int createFile(const OdString &path, const char *data, unsigned int size)