All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfSite Class Reference

#include <site.h>

+ Inheritance diagram for SdfSite:

Public Member Functions

 SdfSite ()
 SdfSite (const SdfLayerHandle &layer_, const SdfPath &path_)
bool operator== (const SdfSite &other) const
bool operator< (const SdfSite &other) const
 operator bool () const

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 43 of file site.h.

Constructor & Destructor Documentation

SdfSite::SdfSite ( )

Definition at line 47 of file site.h.

SdfSite::SdfSite ( const SdfLayerHandle &  layer_,
const SdfPath path_ 

Definition at line 48 of file site.h.

Member Function Documentation

SdfSite::operator bool ( ) const

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 68 of file site.h.

bool SdfSite::operator< ( const SdfSite other) const

Definition at line 58 of file site.h.

bool SdfSite::operator== ( const SdfSite other) const

Definition at line 53 of file site.h.

Member Data Documentation

SdfLayerHandle SdfSite::layer

Definition at line 74 of file site.h.

SdfPath SdfSite::path

Definition at line 75 of file site.h.

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