CFx SDK Documentation  2020SP3
DbNamedPath.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 
24 #ifndef _OD_DBNAMEDPATH_H_INCLUDED_
25 #define _OD_DBNAMEDPATH_H_INCLUDED_
26 
27 #include "DbObject.h"
28 
29 #include "TD_PackPush.h"
30 
31 class OdGeCurve3d;
32 
38 {
39  public:
41 
42  virtual ~OdDbNamedPath();
43 
44  virtual OdResult getGeometry(OdGeCurve3d *& pCurve) const = 0;
45  private:
46  OdDbNamedPath(); // noimpl
47 };
48 
50 
56 {
57  public:
59 
61  virtual ~OdDbCurvePath();
62 
63  virtual OdResult getGeometry(OdGeCurve3d *& pCurve) const;
64 
65  void setGeometry(const OdDbObjectId &curveId);
67 
68  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
69  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
70  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
71  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
72 };
73 
75 
81 {
82  public:
84 
86  virtual ~OdDbPointPath();
87 
88  virtual OdResult getGeometry(OdGeCurve3d *& pCurve) const;
89 
90  void setGeometry(const OdGePoint3d &point);
91  OdGePoint3d point() const;
92 
93  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
94  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
95  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
96  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
97 };
98 
100 
103 
104 #include "TD_PackPop.h"
105 
106 #endif // _OD_DBNAMEDPATH_H_INCLUDED_
OdDbNamedPath::~OdDbNamedPath
virtual ~OdDbNamedPath()
OdResult
OdResult
Definition: OdResult.h:29
OdDbPointPath::OdDbPointPath
OdDbPointPath()
OdDbPointPath::point
OdGePoint3d point() const
OdDbDatabase
Definition: DbDatabase.h:421
OdDbCurvePath::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbCurvePath::~OdDbCurvePath
virtual ~OdDbCurvePath()
OdDbNamedPath::getGeometry
virtual OdResult getGeometry(OdGeCurve3d *&pCurve) const =0
OdDbPointPath::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
DbObject.h
OdDbObjectId
Definition: DbObjectId.h:99
OdDbCurvePath
Definition: DbNamedPath.h:56
OdDbCurvePath::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbCurvePath)
TD_PackPop.h
OdDbPointPath::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbPointPath)
OdDbNamedPath::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbNamedPath)
OdDbPointPath::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbPointPath
Definition: DbNamedPath.h:81
OdDbCurvePathPtr
OdSmartPtr< OdDbCurvePath > OdDbCurvePathPtr
Definition: DbNamedPath.h:74
OdDbCurvePath::OdDbCurvePath
OdDbCurvePath()
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbCurvePath::entityId
OdDbObjectId entityId() const
OdDbPointPath::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbPointPathPtr
OdSmartPtr< OdDbPointPath > OdDbPointPathPtr
Definition: DbNamedPath.h:99
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbCurvePath::setGeometry
void setGeometry(const OdDbObjectId &curveId)
OdDbNamedPathPtr
OdSmartPtr< OdDbNamedPath > OdDbNamedPathPtr
Definition: DbNamedPath.h:49
TD_PackPush.h
OdDbPointPath::getGeometry
virtual OdResult getGeometry(OdGeCurve3d *&pCurve) const
OdDbCurvePath::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDb::OpenMode
OpenMode
Definition: DbObjectId.h:54
OdDbPointPath::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdGeCurve3d
Definition: GeCurve3d.h:56
OdDbCurvePath::getGeometry
virtual OdResult getGeometry(OdGeCurve3d *&pCurve) const
oddbGetNamedPathDictionaryId
TOOLKIT_EXPORT OdDbObjectId oddbGetNamedPathDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdDbNamedPath
Definition: DbNamedPath.h:38
oddbGetNamedPathDictionary
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetNamedPathDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbCurvePath::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbPointPath::~OdDbPointPath
virtual ~OdDbPointPath()
OdDbPointPath::setGeometry
void setGeometry(const OdGePoint3d &point)
OdDbCurvePath::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031