HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfPredicateExpression::FnArg Class Reference

#include <predicateExpression.h>

Static Public Member Functions

static FnArg Positional (VtValue const &val)
 
static FnArg Keyword (std::string const &name, VtValue const &val)
 

Public Attributes

std::string argName
 
VtValue value
 

Friends

template<class HashState >
void TfHashAppend (HashState &h, FnArg const &arg)
 
bool operator== (FnArg const &l, FnArg const &r)
 
bool operator!= (FnArg const &l, FnArg const &r)
 
void swap (FnArg &l, FnArg &r)
 

Detailed Description

Represents a function argument name and value. Positional arguments have empty names.

Definition at line 92 of file predicateExpression.h.

Member Function Documentation

static FnArg SdfPredicateExpression::FnArg::Keyword ( std::string const &  name,
VtValue const &  val 
)
inlinestatic

Definition at line 96 of file predicateExpression.h.

static FnArg SdfPredicateExpression::FnArg::Positional ( VtValue const &  val)
inlinestatic

Definition at line 93 of file predicateExpression.h.

Friends And Related Function Documentation

bool operator!= ( FnArg const &  l,
FnArg const &  r 
)
friend

Definition at line 110 of file predicateExpression.h.

bool operator== ( FnArg const &  l,
FnArg const &  r 
)
friend

Definition at line 107 of file predicateExpression.h.

void swap ( FnArg l,
FnArg r 
)
friend

Definition at line 114 of file predicateExpression.h.

template<class HashState >
void TfHashAppend ( HashState &  h,
FnArg const &  arg 
)
friend

Definition at line 103 of file predicateExpression.h.

Member Data Documentation

std::string SdfPredicateExpression::FnArg::argName

Definition at line 99 of file predicateExpression.h.

VtValue SdfPredicateExpression::FnArg::value

Definition at line 100 of file predicateExpression.h.


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