FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | Public Attributes | List of all members
Fiber::FieldProxy Struct Reference

A proxy object that looks like a RefPtr<Field> but equips fields with a FieldCreator and a FragmentIDCollection on assignment. More...

#include <Representation.hpp>

Public Member Functions

 FieldProxy (const FieldProxy &FP)
 
 FieldProxy (Representation &theRepresentation, const string &theFieldname, const RefPtr< FragmentIDCollection > &theFragmentIDCollection, RefPtr< Field > &theFieldPtr, const RefPtr< MemBase > &theFragmentTopology=MemCore::NullPtr())
 
FieldProxyoperator= (const RefPtr< Field > &newFieldPtr)
 
FieldProxyoperator= (const RefPtr< MemBase > &UnfragmentedData)
 Convenience function to create an unfragmented field from a single fragment.
 
RefPtr< Field > & make () const
 
 operator RefPtr< Field > & () const
 
const RefPtr< Field > & operator-> () const
 
 operator bool () const
 

Public Attributes

RepresentationmyRepresentation
 
const string myFieldname
 
RefPtr< FragmentIDCollectionmyFragmentIDCollection
 
RefPtr< MemBasemyFragmentTopology
 
RefPtr< Field > & FieldPtr
 

Detailed Description

A proxy object that looks like a RefPtr<Field> but equips fields with a FieldCreator and a FragmentIDCollection on assignment.