CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdVerticalDatumDefinition.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23#ifndef _ODSPATIALREFERENCE_ODVERTICALDATUMDEFINITION_INCLUDED_
24#define _ODSPATIALREFERENCE_ODVERTICALDATUMDEFINITION_INCLUDED_
25
27
28namespace OdSpatialReference
29{
31
36
41
42 class OdVerticalDatumDefinitionImpl;
43
50 {
52 public:
61 static OdResult load(const OdString& sCode, OdVerticalDatumDefinitionPtr& pDatumDefinition);
62
70 static OdResult loadAll(OdVerticalDatumDefinitionArray& arrDatumDefinition);
71
79 OdResult getEpsgCode(OdInt16& nEpsgCode) const;
80
89
97 OdResult isProtected(bool& bProtected) const;
98
106 OdResult setProtected(bool bProtected);
107
115 OdResult getGroup(OdString& sGroup) const;
116
124 OdResult setGroup(const OdString& sGroup);
125
133 static bool isLegalCode(const OdString& sCode);
134
142 static bool isLegalDescription(const OdString& sDescription);
143
151 static bool isLegalSource(const OdString& sSource);
152
160 static bool isLegalGroup(const OdString& sGroup);
161 };
162}
163
164#endif //_ODSPATIALREFERENCE_ODVERTICALDATUMDEFINITION_INCLUDED_
short OdInt16
OdResult
Definition OdResult.h:29
#define ODSPREF_RX_DECLARE_MEMBERS(ClassName)
#define TD_SPATIALREFERENCE_API
static bool isLegalSource(const OdString &sSource)
OdResult setGroup(const OdString &sGroup)
static bool isLegalCode(const OdString &sCode)
static bool isLegalDescription(const OdString &sDescription)
static OdResult load(const OdString &sCode, OdVerticalDatumDefinitionPtr &pDatumDefinition)
static bool isLegalGroup(const OdString &sGroup)
OdResult getEpsgCode(OdInt16 &nEpsgCode) const
OdResult setEpsgCode(OdInt16 nEpsgCode)
OdResult isProtected(bool &bProtected) const
static OdResult loadAll(OdVerticalDatumDefinitionArray &arrDatumDefinition)
OdResult getGroup(OdString &sGroup) const
OdSmartPtr< OdVerticalDatumDefinition > OdVerticalDatumDefinitionPtr
OdArray< OdVerticalDatumDefinitionPtr > OdVerticalDatumDefinitionArray