Loading...
Searching...
No Matches
SdfPredicateExpression::FnArg Class Reference

Represents a function argument name and value. More...

#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 75 of file predicateExpression.h.

Member Function Documentation

◆ Keyword()

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

Definition at line 79 of file predicateExpression.h.

◆ Positional()

static FnArg Positional ( VtValue const & val)
inlinestatic

Definition at line 76 of file predicateExpression.h.

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 93 of file predicateExpression.h.

◆ operator==

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

Definition at line 90 of file predicateExpression.h.

◆ swap

void swap ( FnArg & l,
FnArg & r )
friend

Definition at line 97 of file predicateExpression.h.

◆ TfHashAppend

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

Definition at line 86 of file predicateExpression.h.

Member Data Documentation

◆ argName

std::string argName

Definition at line 82 of file predicateExpression.h.

◆ value

VtValue value

Definition at line 83 of file predicateExpression.h.


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