Public Types | Public Member Functions | List of all members
vtkSMProxyProperty::vtkPPInternals Class Reference

This class is used by vtkSMProxyProperty to keep track of the proxies. More...

#include <vtkSMProxyPropertyInternals.h>

Public Types

typedef std::vector< vtkSmartPointer< vtkSMProxy > > SmartVectorOfProxies
 
typedef std::vector< vtkWeakPointer< vtkSMProxy > > WeakVectorOfProxies
 
typedef std::vector< unsigned intVectorOfUInts
 

Public Member Functions

 vtkPPInternals (vtkSMProxyProperty *self)
 
bool AddUnchecked (vtkSMProxy *proxy, unsigned int port=0)
 
bool Add (vtkSMProxy *proxy, unsigned int port=0)
 
bool Remove (vtkSMProxy *proxy)
 
bool Resize (unsigned int count)
 
bool ResizeUnchecked (unsigned int count)
 
bool Clear ()
 
bool ClearUnchecked ()
 
bool Set (unsigned int index, vtkSMProxy *proxy, unsigned int port=0)
 
bool SetUnchecked (unsigned int index, vtkSMProxy *proxy, unsigned int port=0)
 
bool Set (unsigned int count, vtkSMProxy **proxies, const unsigned int *ports=nullptr)
 
bool SetProxies (const SmartVectorOfProxies &otherProxies, const VectorOfUInts &otherPorts)
 
bool SetUncheckedProxies (const WeakVectorOfProxies &otherProxies, const VectorOfUInts &otherPorts)
 
bool IsAdded (vtkSMProxy *proxy)
 
const SmartVectorOfProxiesGetProxies () const
 
const WeakVectorOfProxiesGetUncheckedProxies () const
 
const VectorOfUIntsGetPorts () const
 
const VectorOfUIntsGetUncheckedPorts () const
 
vtkSMProxyGet (unsigned int index) const
 
vtkSMProxyGetUnchecked (unsigned int index) const
 
unsigned int GetPort (unsigned int index) const
 
unsigned int GetUncheckedPort (unsigned int index) const
 
bool WriteTo (paraview_protobuf::Variant *variant) const
 
bool ReadFrom (const paraview_protobuf::Variant &variant, vtkSMProxyLocator *locator)
 

Detailed Description

This class is used by vtkSMProxyProperty to keep track of the proxies.

It keeps proxies as well as output port information which is needed for vtkSMInputProperty. That makes it easier and less error prone to keep the number of ports and proxies in sync and correctly check when values are modified.

Definition at line 38 of file vtkSMProxyPropertyInternals.h.

Member Typedef Documentation

◆ SmartVectorOfProxies

Definition at line 41 of file vtkSMProxyPropertyInternals.h.

◆ WeakVectorOfProxies

Definition at line 42 of file vtkSMProxyPropertyInternals.h.

◆ VectorOfUInts

Definition at line 43 of file vtkSMProxyPropertyInternals.h.

Constructor & Destructor Documentation

◆ vtkPPInternals()

vtkSMProxyProperty::vtkPPInternals::vtkPPInternals ( vtkSMProxyProperty self)
inline

Definition at line 122 of file vtkSMProxyPropertyInternals.h.

Member Function Documentation

◆ AddUnchecked()

bool vtkSMProxyProperty::vtkPPInternals::AddUnchecked ( vtkSMProxy proxy,
unsigned int  port = 0 
)
inline

Definition at line 134 of file vtkSMProxyPropertyInternals.h.

◆ Add()

bool vtkSMProxyProperty::vtkPPInternals::Add ( vtkSMProxy proxy,
unsigned int  port = 0 
)
inline

Definition at line 142 of file vtkSMProxyPropertyInternals.h.

◆ Remove()

bool vtkSMProxyProperty::vtkPPInternals::Remove ( vtkSMProxy proxy)
inline

Definition at line 149 of file vtkSMProxyPropertyInternals.h.

◆ Resize()

bool vtkSMProxyProperty::vtkPPInternals::Resize ( unsigned int  count)
inline

Definition at line 166 of file vtkSMProxyPropertyInternals.h.

◆ ResizeUnchecked()

bool vtkSMProxyProperty::vtkPPInternals::ResizeUnchecked ( unsigned int  count)
inline

Definition at line 177 of file vtkSMProxyPropertyInternals.h.

◆ Clear()

bool vtkSMProxyProperty::vtkPPInternals::Clear ( void  )
inline

Definition at line 188 of file vtkSMProxyPropertyInternals.h.

◆ ClearUnchecked()

bool vtkSMProxyProperty::vtkPPInternals::ClearUnchecked ( )
inline

Definition at line 199 of file vtkSMProxyPropertyInternals.h.

◆ Set() [1/2]

bool vtkSMProxyProperty::vtkPPInternals::Set ( unsigned int  index,
vtkSMProxy proxy,
unsigned int  port = 0 
)
inline

Definition at line 211 of file vtkSMProxyPropertyInternals.h.

◆ SetUnchecked()

bool vtkSMProxyProperty::vtkPPInternals::SetUnchecked ( unsigned int  index,
vtkSMProxy proxy,
unsigned int  port = 0 
)
inline

Definition at line 228 of file vtkSMProxyPropertyInternals.h.

◆ Set() [2/2]

bool vtkSMProxyProperty::vtkPPInternals::Set ( unsigned int  count,
vtkSMProxy **  proxies,
const unsigned int ports = nullptr 
)
inline

Definition at line 246 of file vtkSMProxyPropertyInternals.h.

◆ SetProxies()

bool vtkSMProxyProperty::vtkPPInternals::SetProxies ( const SmartVectorOfProxies otherProxies,
const VectorOfUInts otherPorts 
)
inline

Definition at line 268 of file vtkSMProxyPropertyInternals.h.

◆ SetUncheckedProxies()

bool vtkSMProxyProperty::vtkPPInternals::SetUncheckedProxies ( const WeakVectorOfProxies otherProxies,
const VectorOfUInts otherPorts 
)
inline

Definition at line 280 of file vtkSMProxyPropertyInternals.h.

◆ IsAdded()

bool vtkSMProxyProperty::vtkPPInternals::IsAdded ( vtkSMProxy proxy)
inline

Definition at line 294 of file vtkSMProxyPropertyInternals.h.

◆ GetProxies()

const SmartVectorOfProxies& vtkSMProxyProperty::vtkPPInternals::GetProxies ( ) const
inline

Definition at line 301 of file vtkSMProxyPropertyInternals.h.

◆ GetUncheckedProxies()

const WeakVectorOfProxies& vtkSMProxyProperty::vtkPPInternals::GetUncheckedProxies ( ) const
inline

Definition at line 302 of file vtkSMProxyPropertyInternals.h.

◆ GetPorts()

const VectorOfUInts& vtkSMProxyProperty::vtkPPInternals::GetPorts ( ) const
inline

Definition at line 303 of file vtkSMProxyPropertyInternals.h.

◆ GetUncheckedPorts()

const VectorOfUInts& vtkSMProxyProperty::vtkPPInternals::GetUncheckedPorts ( ) const
inline

Definition at line 304 of file vtkSMProxyPropertyInternals.h.

◆ Get()

vtkSMProxy* vtkSMProxyProperty::vtkPPInternals::Get ( unsigned int  index) const
inline

Definition at line 307 of file vtkSMProxyPropertyInternals.h.

◆ GetUnchecked()

vtkSMProxy* vtkSMProxyProperty::vtkPPInternals::GetUnchecked ( unsigned int  index) const
inline

Definition at line 314 of file vtkSMProxyPropertyInternals.h.

◆ GetPort()

unsigned int vtkSMProxyProperty::vtkPPInternals::GetPort ( unsigned int  index) const
inline

Definition at line 325 of file vtkSMProxyPropertyInternals.h.

◆ GetUncheckedPort()

unsigned int vtkSMProxyProperty::vtkPPInternals::GetUncheckedPort ( unsigned int  index) const
inline

Definition at line 329 of file vtkSMProxyPropertyInternals.h.

◆ WriteTo()

bool vtkSMProxyProperty::vtkPPInternals::WriteTo ( paraview_protobuf::Variant *  variant) const
inline

Definition at line 343 of file vtkSMProxyPropertyInternals.h.

◆ ReadFrom()

bool vtkSMProxyProperty::vtkPPInternals::ReadFrom ( const paraview_protobuf::Variant &  variant,
vtkSMProxyLocator locator 
)
inline

Definition at line 367 of file vtkSMProxyPropertyInternals.h.


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