CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdTfStorage Class Referenceabstract

#include <TfIO.h>

Inheritance diagram for OdTfStorage:
OdRxObject CloudGfxCache

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdTfStorage)
 
virtual void open (const OdString &sPath)=0
 
virtual OdString path () const =0
 
virtual OdStreamBufPtr read (const OdTfDigest &sha1, OdTfThreadContext *ctx=0)=0
 
virtual bool getLabel (const OdString &label, OdTfDigest &sha1)=0
 
virtual void write (OdStreamBuf *data, OdTfDigest &sha1)=0
 
virtual bool setLabel (const OdString &label, const OdTfDigest &sha1)=0
 
virtual OdTfThreadContextcreateThreadContext ()=0
 
virtual void deleteThreadContext (OdTfThreadContext *)=0
 
virtual void getExclusiveLock ()=0
 
virtual void releaseExclusiveLock ()=0
 
virtual void getBranchList (std::map< OdString, OdTfDigest > &)=0
 
virtual OdStreamBufPtr getDiff (const OdTfDigest &sha1)=0
 
virtual void writeDiff (const OdTfDigest &sha1, OdStreamBuf *data)=0
 
virtual void deleteKey (const OdTfDigest &sha1)=0
 
virtual void vacuum ()=0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 56 of file TfIO.h.

Member Function Documentation

◆ createThreadContext()

virtual OdTfThreadContext* OdTfStorage::createThreadContext ( )
pure virtual

◆ deleteKey()

virtual void OdTfStorage::deleteKey ( const OdTfDigest sha1)
pure virtual

◆ deleteThreadContext()

virtual void OdTfStorage::deleteThreadContext ( OdTfThreadContext )
pure virtual

◆ getBranchList()

virtual void OdTfStorage::getBranchList ( std::map< OdString, OdTfDigest > &  )
pure virtual

◆ getDiff()

virtual OdStreamBufPtr OdTfStorage::getDiff ( const OdTfDigest sha1)
pure virtual

◆ getExclusiveLock()

virtual void OdTfStorage::getExclusiveLock ( )
pure virtual

◆ getLabel()

virtual bool OdTfStorage::getLabel ( const OdString label,
OdTfDigest sha1 
)
pure virtual

◆ ODRX_DECLARE_MEMBERS()

OdTfStorage::ODRX_DECLARE_MEMBERS ( OdTfStorage  )

◆ open()

virtual void OdTfStorage::open ( const OdString sPath)
pure virtual

◆ path()

virtual OdString OdTfStorage::path ( ) const
pure virtual

◆ read()

virtual OdStreamBufPtr OdTfStorage::read ( const OdTfDigest sha1,
OdTfThreadContext ctx = 0 
)
pure virtual

◆ releaseExclusiveLock()

virtual void OdTfStorage::releaseExclusiveLock ( )
pure virtual

◆ setLabel()

virtual bool OdTfStorage::setLabel ( const OdString label,
const OdTfDigest sha1 
)
pure virtual

◆ vacuum()

virtual void OdTfStorage::vacuum ( )
pure virtual

◆ write()

virtual void OdTfStorage::write ( OdStreamBuf data,
OdTfDigest sha1 
)
pure virtual

◆ writeDiff()

virtual void OdTfStorage::writeDiff ( const OdTfDigest sha1,
OdStreamBuf data 
)
pure virtual

The documentation for this class was generated from the following file: