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

#include <editReason.h>

Public Member Functions

bool operator< (const EsfEditReason &other) const
 Enables consistent sorting of EsfEditReasons. More...
 
constexpr EsfEditReason ()=default
 Equivalent to EsfEditReason::None. More...
 
ESF_API std::string GetDescription () const
 
Bitwise operations
constexpr operator bool () const
 Return true if this object contains any edit reasons. More...
 
constexpr bool operator== (EsfEditReason other) const
 Return true if this object contains any edit reasons. More...
 
constexpr bool operator!= (EsfEditReason other) const
 Return true if this object contains any edit reasons. More...
 
constexpr EsfEditReasonoperator&= (EsfEditReason other)
 Return true if this object contains any edit reasons. More...
 
constexpr EsfEditReasonoperator|= (EsfEditReason other)
 Return true if this object contains any edit reasons. More...
 
constexpr EsfEditReason operator& (EsfEditReason other) const
 Return true if this object contains any edit reasons. More...
 
constexpr EsfEditReason operator| (EsfEditReason other) const
 Return true if this object contains any edit reasons. More...
 
constexpr bool Contains (EsfEditReason other) const
 

Static Public Attributes

Supported edit reasons
static const EsfEditReason None
 
static const EsfEditReason ResyncedObject
 
static const EsfEditReason ChangedPropertyList
 
static const EsfEditReason ChangedConnectionPaths
 
static const EsfEditReason ChangedIncomingConnections
 
static const EsfEditReason ChangedTargetPaths
 

Detailed Description

Set of scene changes that should trigger edits to the exec network.

The set of change types contained in an EsfEdtReason is stored as a bitmask, where each bit represents a different type of scene change. EsfEditReasons can be manipulated with standard bitwise operators.

Users can only construct bitmasks from the provided set of supported edit reasons.

Definition at line 30 of file editReason.h.

Constructor & Destructor Documentation

constexpr EsfEditReason::EsfEditReason ( )
default

Equivalent to EsfEditReason::None.

Member Function Documentation

constexpr bool EsfEditReason::Contains ( EsfEditReason  other) const
inline

Return true if other's reasons are entirely contained by this set of reasons.

Definition at line 102 of file editReason.h.

ESF_API std::string EsfEditReason::GetDescription ( ) const

Get a string describing the contents of this edit reason.

The string is a comma-separated list of pre-defined edit reasons that make up this value.

constexpr EsfEditReason::operator bool ( ) const
inlineexplicit

Return true if this object contains any edit reasons.

Definition at line 69 of file editReason.h.

constexpr bool EsfEditReason::operator!= ( EsfEditReason  other) const
inline

Return true if this object contains any edit reasons.

Definition at line 77 of file editReason.h.

constexpr EsfEditReason EsfEditReason::operator& ( EsfEditReason  other) const
inline

Return true if this object contains any edit reasons.

Definition at line 91 of file editReason.h.

constexpr EsfEditReason& EsfEditReason::operator&= ( EsfEditReason  other)
inline

Return true if this object contains any edit reasons.

Definition at line 81 of file editReason.h.

bool EsfEditReason::operator< ( const EsfEditReason other) const
inline

Enables consistent sorting of EsfEditReasons.

Definition at line 109 of file editReason.h.

constexpr bool EsfEditReason::operator== ( EsfEditReason  other) const
inline

Return true if this object contains any edit reasons.

Definition at line 73 of file editReason.h.

constexpr EsfEditReason EsfEditReason::operator| ( EsfEditReason  other) const
inline

Return true if this object contains any edit reasons.

Definition at line 95 of file editReason.h.

constexpr EsfEditReason& EsfEditReason::operator|= ( EsfEditReason  other)
inline

Return true if this object contains any edit reasons.

Definition at line 86 of file editReason.h.

Member Data Documentation

constexpr EsfEditReason EsfEditReason::ChangedConnectionPaths
inlinestatic

The list of connection paths on an attribute has changed.

Definition at line 53 of file editReason.h.

constexpr EsfEditReason EsfEditReason::ChangedIncomingConnections
inlinestatic

The set of connections that target an object has changed.

Definition at line 57 of file editReason.h.

constexpr EsfEditReason EsfEditReason::ChangedPropertyList
inlinestatic

The list of properties on a prim has changed.

This includes renames to the prim's properties.

Definition at line 49 of file editReason.h.

constexpr EsfEditReason EsfEditReason::ChangedTargetPaths
inlinestatic

The list of target paths on a relationship has changed.

Definition at line 61 of file editReason.h.

constexpr EsfEditReason EsfEditReason::None
inlinestatic

Something about an object has changed.

This includes recursive resyncs on namespace ancestors.

Definition at line 37 of file editReason.h.

constexpr EsfEditReason EsfEditReason::ResyncedObject
inlinestatic

Something about an object has changed.

This includes recursive resyncs on namespace ancestors.

Definition at line 43 of file editReason.h.


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