Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
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())
FieldProxy & operator= (const RefPtr< Field > &newFieldPtr)
FieldProxy & operator= (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.