CFx SDK Documentation  2020SP3
Classes | Typedefs | Enumerations | Functions
OD::File Namespace Reference

Classes

class  WriteBuf
 

Typedefs

typedef OdUInt64 Id
 
typedef OdTfDigest Hash
 
typedef OdSmartPtr< StreamReadBufP
 
typedef OdSmartPtr< WriteBufWriteBufP
 

Enumerations

enum  Access {
  Read = Oda::kFileRead, Write = Oda::kFileWrite, Tmp = Oda::kFileTmp, Delete = Oda::kFileDelete,
  Test = 1, IfExists = 2
}
 
enum  Share { DenyReadWrite = Oda::kShareDenyReadWrite, DenyWrite = Oda::kShareDenyWrite, DenyRead = Oda::kShareDenyRead, DenyNo = Oda::kShareDenyNo }
 
enum  Creation {
  CreateNew = Oda::kCreateNew, CreateAlways = Oda::kCreateAlways, OpenExisting = Oda::kOpenExisting, OpenAlways = Oda::kOpenAlways,
  TruncateExisting = Oda::kTruncateExisting
}
 

Functions

bool access (const OdString &path, int acc=Read)
 
StreamP open (const OdString &path, int acc=Read, Creation dispos=OpenExisting, Share sh=DenyNo)
 
OdAnsiString toStr (const OdString &path)
 
void putStr (const OdString &path, const OdString &str)
 
void putStr (const OdString &path, const OdAnsiString &str)
 

Typedef Documentation

◆ Hash

Definition at line 83 of file RxFS.h.

◆ Id

Definition at line 82 of file RxFS.h.

◆ ReadBufP

Definition at line 85 of file RxFS.h.

◆ WriteBufP

Definition at line 91 of file RxFS.h.

Enumeration Type Documentation

◆ Access

Enumerator
Read 
Write 
Tmp 
Delete 
Test 
IfExists 

Definition at line 60 of file RxFS.h.

◆ Creation

Enumerator
CreateNew 
CreateAlways 
OpenExisting 
OpenAlways 
TruncateExisting 

Definition at line 74 of file RxFS.h.

◆ Share

Enumerator
DenyReadWrite 
DenyWrite 
DenyRead 
DenyNo 

Definition at line 68 of file RxFS.h.

Function Documentation

◆ access()

bool OD::File::access ( const OdString path,
int  acc = Read 
)
inline

Definition at line 235 of file RxFS.h.

◆ open()

StreamP OD::File::open ( const OdString path,
int  acc = Read,
Creation  dispos = OpenExisting,
Share  sh = DenyNo 
)
inline

Definition at line 239 of file RxFS.h.

◆ putStr() [1/2]

void OD::File::putStr ( const OdString path,
const OdAnsiString &  str 
)
inline

Definition at line 251 of file RxFS.h.

◆ putStr() [2/2]

void OD::File::putStr ( const OdString path,
const OdString str 
)
inline

Definition at line 249 of file RxFS.h.

◆ toStr()

OdAnsiString OD::File::toStr ( const OdString path)
inline

Definition at line 244 of file RxFS.h.