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

#include <predicateExpression.h>

Public Types

enum  Kind { BareCall, ColonCall, ParenCall }
 

Public Attributes

Kind kind
 
std::string funcName
 
std::vector< FnArgargs
 

Friends

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

Detailed Description

Represents a function call in an expression with calling style, function name, and arguments.

Definition at line 124 of file predicateExpression.h.

Member Enumeration Documentation

Enumerator
BareCall 

no-arg call like 'active'

ColonCall 

colon-separated pos args, like 'isa:Imageable'

ParenCall 

paren/comma & pos/kw args like 'foo(23, bar=baz)'

Definition at line 125 of file predicateExpression.h.

Friends And Related Function Documentation

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

Definition at line 144 of file predicateExpression.h.

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

Definition at line 140 of file predicateExpression.h.

void swap ( FnCall l,
FnCall r 
)
friend

Definition at line 147 of file predicateExpression.h.

template<class HashState >
void TfHashAppend ( HashState &  h,
FnCall const &  c 
)
friend

Definition at line 136 of file predicateExpression.h.

Member Data Documentation

std::vector<FnArg> SdfPredicateExpression::FnCall::args

Definition at line 133 of file predicateExpression.h.

std::string SdfPredicateExpression::FnCall::funcName

Definition at line 132 of file predicateExpression.h.

Kind SdfPredicateExpression::FnCall::kind

Definition at line 131 of file predicateExpression.h.


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