CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OdTfDigest Struct Reference

#include <TfRevisionControl.h>

Public Member Functions

void write (OdStreamBuf *pBuf) const
 
void read (OdStreamBuf *pBuf)
 
bool operator< (const OdTfDigest &other) const
 
bool operator== (const OdTfDigest &other) const
 
bool operator!= (const OdTfDigest &other) const
 
bool isNull () const
 
 OdTfDigest ()
 

Static Public Member Functions

static OdTfDigest kNull ()
 

Public Attributes

char data [20]
 

Detailed Description

This structure stores hash codes for commits.

Definition at line 40 of file TfRevisionControl.h.

Constructor & Destructor Documentation

◆ OdTfDigest()

OdTfDigest::OdTfDigest ( )
inline

Default constructor for instances of the OdTfDigest structure. Creates a NULL hash code.

Definition at line 122 of file TfRevisionControl.h.

Member Function Documentation

◆ isNull()

bool OdTfDigest::isNull ( ) const
inline

Checks whether this hash code is a NULL hash code.

Returns
True if this hash code is a NULL hash code; false otherwise.

Definition at line 112 of file TfRevisionControl.h.

◆ kNull()

static OdTfDigest OdTfDigest::kNull ( )
inlinestatic

Creates and returns a NULL hash code.

Definition at line 99 of file TfRevisionControl.h.

◆ operator!=()

bool OdTfDigest::operator!= ( const OdTfDigest other) const
inline

Negative comparison operator.

Parameters
other[in] Hash code to compare with this hash code.
Returns
True if this hash code is not equal to other hash code; false otherwise.

Definition at line 91 of file TfRevisionControl.h.

◆ operator<()

bool OdTfDigest::operator< ( const OdTfDigest other) const
inline

"Less than" comparison operator.

Parameters
other[in] Hash code to compare with this hash code.
Returns
True if this hash code is less than other hash code; false if this hash code is equal or greater than other hash code.

Definition at line 67 of file TfRevisionControl.h.

◆ operator==()

bool OdTfDigest::operator== ( const OdTfDigest other) const
inline

Comparison operator.

Parameters
other[in] Hash code to compare with this hash code.
Returns
True if this hash code is equal to other hash code; false otherwise.

Definition at line 79 of file TfRevisionControl.h.

◆ read()

void OdTfDigest::read ( OdStreamBuf pBuf)
inline

Reads a hash code from a stream buffer.

Parameters
pBuf[in] Stream buffer to read data from.

Definition at line 57 of file TfRevisionControl.h.

◆ write()

void OdTfDigest::write ( OdStreamBuf pBuf) const
inline

Writes the hash code to a stream buffer.

Parameters
pBuf[in] Stream buffer to write data to.

Definition at line 50 of file TfRevisionControl.h.

Member Data Documentation

◆ data

char OdTfDigest::data[20]

Data array to store a hash code.

Definition at line 43 of file TfRevisionControl.h.


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