Loading...
Searching...
No Matches
SdfSite Class Reference

An SdfSite is a simple representation of a location in a layer where opinions may possibly be found. More...

#include <site.h>

Public Member Functions

 SdfSite (const SdfLayerHandle &layer_, const SdfPath &path_)
 
bool operator== (const SdfSite &other) const
 
bool operator!= (const SdfSite &other) const
 
bool operator< (const SdfSite &other) const
 
bool operator> (const SdfSite &other) const
 
bool operator<= (const SdfSite &other) const
 
bool operator>= (const SdfSite &other) const
 
 operator bool () const
 Explicit bool conversion operator.
 

Public Attributes

SdfLayerHandle layer
 
SdfPath path
 

Detailed Description

An SdfSite is a simple representation of a location in a layer where opinions may possibly be found.

It is simply a pair of layer and path within that layer.

Definition at line 42 of file site.h.

Constructor & Destructor Documentation

◆ SdfSite() [1/2]

SdfSite ( )
inline

Definition at line 45 of file site.h.

◆ SdfSite() [2/2]

SdfSite ( const SdfLayerHandle &  layer_,
const SdfPath path_ 
)
inline

Definition at line 46 of file site.h.

Member Function Documentation

◆ operator bool()

operator bool ( ) const
inlineexplicit

Explicit bool conversion operator.

A site object converts to true iff both the layer and path fields are filled with valid values, false otherwise. This does NOT imply that there are opinions in the layer at that path.

Definition at line 86 of file site.h.

◆ operator!=()

bool operator!= ( const SdfSite other) const
inline

Definition at line 56 of file site.h.

◆ operator<()

bool operator< ( const SdfSite other) const
inline

Definition at line 61 of file site.h.

◆ operator<=()

bool operator<= ( const SdfSite other) const
inline

Definition at line 72 of file site.h.

◆ operator==()

bool operator== ( const SdfSite other) const
inline

Definition at line 51 of file site.h.

◆ operator>()

bool operator> ( const SdfSite other) const
inline

Definition at line 67 of file site.h.

◆ operator>=()

bool operator>= ( const SdfSite other) const
inline

Definition at line 77 of file site.h.

Member Data Documentation

◆ layer

SdfLayerHandle layer

Definition at line 92 of file site.h.

◆ path

SdfPath path

Definition at line 93 of file site.h.


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