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 107 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 108 of file predicateExpression.h.

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 127 of file predicateExpression.h.

◆ operator==

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

Definition at line 123 of file predicateExpression.h.

◆ swap

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

Definition at line 130 of file predicateExpression.h.

◆ TfHashAppend

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

Definition at line 119 of file predicateExpression.h.

Member Data Documentation

◆ args

std::vector<FnArg> args

Definition at line 116 of file predicateExpression.h.

◆ funcName

std::string funcName

Definition at line 115 of file predicateExpression.h.

◆ kind

Kind kind

Definition at line 114 of file predicateExpression.h.


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