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

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

Inherits totally_ordered< SdfSite >.

Public Member Functions

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

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.

Member Function Documentation

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


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