CFx SDK Documentation  2020SP3
Classes | Typedefs | Enumerations | Functions
Oda Namespace Reference

Classes

class  HRXCMD
 
class  HRXDIC
 

Typedefs

typedef OdUInt8 UI8
 
typedef OdUInt16 UI16
 
typedef OdUInt32 UI32
 
typedef OdInt32 I32
 
typedef OdUInt64 UI64
 
typedef OdInt64 I64
 
typedef OdError EXCEP
 
typedef const EXCEPEXCEPREF
 
typedef OdAnsiString ASTR
 
typedef const ASTRASTRREF
 
typedef OdString WSTR
 
typedef const WSTRWSTRREF
 
typedef const char * ACSZ
 
typedef const OdCharWCSZ
 
typedef OdRxObject RXOBJ
 
typedef OdRxObjectPtr RXPTR
 
typedef OdStreamBuf STRMBF
 
typedef OdStreamBufPtr STRMBFPTR
 
typedef OD::Path PATH
 
typedef const PATHPATHREF
 
typedef OdRxDictionary RXDIC
 
typedef OdRxDictionaryPtr RXDICPTR
 
typedef OdRxDictionaryIterator RXDICITER
 
typedef OdRxDictionaryIteratorPtr RXDICITERPTR
 
typedef OdRxVariant RXVAR
 
typedef OdRxVariantPtr RXVARPTR
 
typedef OdRxVariantValue HRXVAR
 
typedef OdRxObjectPtrArray RXPTRARR
 
typedef OdEdCommandContext CMDCTX
 
typedef OdEdCommandContextPtr CMDCTXPTR
 
typedef OdEdCommand CMD
 
typedef OdEdCommandPtr CMDPTR
 
typedef OdEdUserIO USERIO
 

Enumerations

enum  { kCmdGlobal = OdEdCommandStack::kGlobal, kCmdLocal = OdEdCommandStack::kLocal, kCmdSpecGroup = OdEdCommandStack::kSpecifedGroup, kCmdThrowUnknown = OdEdCommandStack::kThrowUnknown }
 
enum  FileAccessMode { kFileRead, kFileWrite = 0x40000000, kFileTmp = 0x20000000, kFileDelete = 0x10000000 }
 
enum  FileShareMode { kShareDenyReadWrite = 0x10, kShareDenyWrite = 0x20, kShareDenyRead = 0x30, kShareDenyNo = 0x40 }
 
enum  FileCreationDisposition {
  kCreateNew = 1, kCreateAlways = 2, kOpenExisting = 3, kOpenAlways = 4,
  kTruncateExisting = 5
}
 

Functions

RXPTR arbVarSafe (OdEdCommandContext *ctx, const WSTR &varName)
 
OdString getDbCtxName (OdEdCommandContext *ctx)
 
OdString ctxByFileExtension (const OdString &sExt)
 
OdString toUtf16 (const char *pAnsi)
 
OdAnsiString toUtf8 (const OdString &sUnicode)
 
bool isUNCPath (const OdChar *path)
 
bool isRelativePath (const OdChar *path)
 
FIRSTDLL_EXPORT bool makeRelativePath (const OdString &from, const OdString &to, OdString &out, bool windowsMode=false)
 
FIRSTDLL_EXPORT bool adjustPath (OdString &path, bool windowsMode=false)
 

Detailed Description

<group TD_Namespaces>

Typedef Documentation

◆ ACSZ

typedef const char* Oda::ACSZ

Definition at line 64 of file TxDefs.h.

◆ ASTR

typedef OdAnsiString Oda::ASTR

Definition at line 60 of file TxDefs.h.

◆ ASTRREF

typedef const ASTR& Oda::ASTRREF

Definition at line 61 of file TxDefs.h.

◆ CMD

Definition at line 90 of file TxDefs.h.

◆ CMDCTX

Definition at line 88 of file TxDefs.h.

◆ CMDCTXPTR

Definition at line 89 of file TxDefs.h.

◆ CMDPTR

Definition at line 91 of file TxDefs.h.

◆ EXCEP

Definition at line 57 of file TxDefs.h.

◆ EXCEPREF

typedef const EXCEP& Oda::EXCEPREF

Definition at line 58 of file TxDefs.h.

◆ HRXVAR

Definition at line 84 of file TxDefs.h.

◆ I32

typedef OdInt32 Oda::I32

Definition at line 53 of file TxDefs.h.

◆ I64

typedef OdInt64 Oda::I64

Definition at line 55 of file TxDefs.h.

◆ PATH

Definition at line 73 of file TxDefs.h.

◆ PATHREF

typedef const PATH& Oda::PATHREF

Definition at line 74 of file TxDefs.h.

◆ RXDIC

Definition at line 77 of file TxDefs.h.

◆ RXDICITER

Definition at line 79 of file TxDefs.h.

◆ RXDICITERPTR

Definition at line 80 of file TxDefs.h.

◆ RXDICPTR

Definition at line 78 of file TxDefs.h.

◆ RXOBJ

Definition at line 67 of file TxDefs.h.

◆ RXPTR

Definition at line 68 of file TxDefs.h.

◆ RXPTRARR

Definition at line 85 of file TxDefs.h.

◆ RXVAR

Definition at line 82 of file TxDefs.h.

◆ RXVARPTR

Definition at line 83 of file TxDefs.h.

◆ STRMBF

Definition at line 69 of file TxDefs.h.

◆ STRMBFPTR

Definition at line 70 of file TxDefs.h.

◆ UI16

Definition at line 51 of file TxDefs.h.

◆ UI32

Definition at line 52 of file TxDefs.h.

◆ UI64

Definition at line 54 of file TxDefs.h.

◆ UI8

typedef OdUInt8 Oda::UI8

Definition at line 50 of file TxDefs.h.

◆ USERIO

Definition at line 92 of file TxDefs.h.

◆ WCSZ

typedef const OdChar* Oda::WCSZ

Definition at line 65 of file TxDefs.h.

◆ WSTR

Definition at line 62 of file TxDefs.h.

◆ WSTRREF

typedef const WSTR& Oda::WSTRREF

Definition at line 63 of file TxDefs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kCmdGlobal 
kCmdLocal 
kCmdSpecGroup 
kCmdThrowUnknown 

Definition at line 119 of file TxDefs.h.

◆ FileAccessMode

Enumerator
kFileRead 
kFileWrite 
kFileTmp 
kFileDelete 

Definition at line 54 of file RxSystemServices.h.

◆ FileCreationDisposition

Enumerator
kCreateNew 
kCreateAlways 
kOpenExisting 
kOpenAlways 
kTruncateExisting 

Definition at line 72 of file RxSystemServices.h.

◆ FileShareMode

Enumerator
kShareDenyReadWrite 
kShareDenyWrite 
kShareDenyRead 
kShareDenyNo 

Definition at line 63 of file RxSystemServices.h.

Function Documentation

◆ adjustPath()

FIRSTDLL_EXPORT bool Oda::adjustPath ( OdString path,
bool  windowsMode = false 
)

◆ arbVarSafe()

RXPTR Oda::arbVarSafe ( OdEdCommandContext ctx,
const WSTR varName 
)
inline

Definition at line 165 of file TxDefs.h.

◆ ctxByFileExtension()

OdString Oda::ctxByFileExtension ( const OdString sExt)
inline

Definition at line 254 of file TxDefs.h.

◆ getDbCtxName()

OdString Oda::getDbCtxName ( OdEdCommandContext ctx)
inline

Definition at line 230 of file TxDefs.h.

◆ isRelativePath()

bool Oda::isRelativePath ( const OdChar path)
inline

Definition at line 58 of file OdPath.h.

◆ isUNCPath()

bool Oda::isUNCPath ( const OdChar path)
inline

Definition at line 52 of file OdPath.h.

◆ makeRelativePath()

FIRSTDLL_EXPORT bool Oda::makeRelativePath ( const OdString from,
const OdString to,
OdString out,
bool  windowsMode = false 
)

◆ toUtf16()

OdString Oda::toUtf16 ( const char *  pAnsi)
inline

Definition at line 275 of file TxDefs.h.

◆ toUtf8()

OdAnsiString Oda::toUtf8 ( const OdString sUnicode)
inline

Definition at line 284 of file TxDefs.h.