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

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

#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

◆ Kind

enum Kind
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

◆ operator!=

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

Definition at line 144 of file predicateExpression.h.

◆ operator==

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

Definition at line 140 of file predicateExpression.h.

◆ swap

void swap ( FnCall l,
FnCall r 
)
friend

Definition at line 147 of file predicateExpression.h.

◆ TfHashAppend

void TfHashAppend ( HashState &  h,
FnCall const &  c 
)
friend

Definition at line 136 of file predicateExpression.h.

Member Data Documentation

◆ args

std::vector<FnArg> args

Definition at line 133 of file predicateExpression.h.

◆ funcName

std::string funcName

Definition at line 132 of file predicateExpression.h.

◆ kind

Kind kind

Definition at line 131 of file predicateExpression.h.


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