Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::SaveableAttributes Class Reference

Attributes with an age that allows to keep track when the attributes had been saved last. More...

#include <CreativeArrayBase.hpp>

Inheritance diagram for Fiber::SaveableAttributes:
MemCore::Attributes Fiber::CreativeArrayBase Fiber::Field Fiber::Grid Fiber::Skeleton Fiber::Slice Fiber::OnDemandCreator< SliceExtractor< Converter, InputTypes > > Fiber::OnDemandCreator< ComputeVertexNormals > Fiber::OnDemandCreator< Computer, Rank, result_value_type > Fiber::ComputationalField< FieldOperator > Fiber::RegularlyFragmentedField< DIMS >

Public Member Functions

void attributesHaveBeenSaved () const
bool attributesNeedSaving () const
Public Member Functions inherited from MemCore::Attributes
MemCore::RefPtr< MemCore::ChunkBasegetAttribute (const std::string &name) const
const AgeablegetAttributeAge () const
std::pair< bool, T > getAttributeValue (const string &AttributeName, size_t ElementNumber=0) const
attributes_t & getAttributeValues ()
const attributes_t & getAttributeValues () const
size_t getNumberOfAttributes () const
bool hasAttribute (const std::string &name) const
int Iterate (const Functor &L) const
int iterate (Iterator &it) const
int iterate_attributes (const Functor &L) const
size_t NumberOfAttributes () const
void setAttribute (const std::string &name, const MemCore::RefPtr< MemCore::ChunkBase > &AttribData)
ResizableChunk< T > & setAttributeValue (const std::string &name, const T &AttribData)
ResizableChunk< T > & setAttributeValues (const std::string &name, const std::initializer_list< T > &AttribData)
const T & setValue (const T &AttribData, const std::string &name)
const T & setValue (const T &AttribData, const std::string &name, const std::string &Comment, const std::string &CommentPrefix="Comment")
string toString () const
const AgeabletouchAttributes () const
const AgeableupdateAttributeAge (const Ageable &A) const

Public Attributes

MemCore::Ageable LastSavedAttributes

Detailed Description

Attributes with an age that allows to keep track when the attributes had been saved last.

Limitations: There is only one age, if the same attributes are stored to multiple files, each file should have its own age.