Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | List of all members
AppCopyBuffer Class Reference

Classes

struct  CopyEntry
 

Public Member Functions

 AppCopyBuffer (AppObject &m_app)
 
void add_entry (CoreBaseObject *source_item)
 Add serialization of specified attribute to the application copy buffer.
 
void add_entry (CoreVector< CoreBaseObject * > source_items, const CoreString &group_name)
 Add serialization of specified attribute group to the application copy buffer.
 
void add_entry (const CoreString &value)
 Add blind data to the application copy buffer.
 
CoreString get_last_entry () const
 
CoreString get_entry (const unsigned int &index) const
 
unsigned int get_entry_count () const
 
void paste_buffer (const OfSerialOptions::ModePasteAdvanced &id, CoreBaseObject *destination_item) const
 Paste last entry of application copy buffer into specified attribute.
 
void paste_buffer (const OfSerialOptions::ModePasteAdvanced &id, CoreBasicArray< OfAttr * > destination_items) const
 Paste last entry of application copy buffer into specified attributes.
 
void paste_buffer (const OfSerialOptions::ModePasteAdvanced &id, CoreBasicArray< OfAttrHandle > destination_items) const
 Paste last entry of application copy buffer into specified attributes.
 
bool can_paste_buffer (OfAttrHandle target_attr) const
 Check whether application copy buffer's last entry can be pasted into specified attribute.
 
bool can_paste_buffer (const CoreString &target_attr_group) const
 Check whether application copy buffer's last entry can be pasted into specified attribute group.
 

Member Function Documentation

void AppCopyBuffer::add_entry ( CoreBaseObject source_item)

Add serialization of specified attribute to the application copy buffer.

Parameters
source_itemthe attribute to copy
void AppCopyBuffer::add_entry ( CoreVector< CoreBaseObject * >  source_items,
const CoreString group_name 
)

Add serialization of specified attribute group to the application copy buffer.

Parameters
source_itemsall attributes belonging to the group
group_namename of the attribute group owning all attributes
void AppCopyBuffer::add_entry ( const CoreString value)

Add blind data to the application copy buffer.

Parameters
valuethe data to copy
bool AppCopyBuffer::can_paste_buffer ( OfAttrHandle  target_attr) const

Check whether application copy buffer's last entry can be pasted into specified attribute.

Parameters
target_attrthe attribute candidate
Returns
true if paste is allowed
bool AppCopyBuffer::can_paste_buffer ( const CoreString target_attr_group) const

Check whether application copy buffer's last entry can be pasted into specified attribute group.

Parameters
target_attr_groupthe attribute group candidate name
Returns
true if paste is allowed
void AppCopyBuffer::paste_buffer ( const OfSerialOptions::ModePasteAdvanced paste_mode,
CoreBaseObject destination_item 
) const

Paste last entry of application copy buffer into specified attribute.

Parameters
paste_modeeither all or only value/animation/expression/texture/shading variable
destination_itemthe target attribute
void AppCopyBuffer::paste_buffer ( const OfSerialOptions::ModePasteAdvanced paste_mode,
CoreBasicArray< OfAttr * >  destination_items 
) const

Paste last entry of application copy buffer into specified attributes.

Parameters
paste_modeeither all or only value/animation/expression/texture/shading variable
destination_itemsthe target attributes
void AppCopyBuffer::paste_buffer ( const OfSerialOptions::ModePasteAdvanced paste_mode,
CoreBasicArray< OfAttrHandle destination_items 
) const

Paste last entry of application copy buffer into specified attributes.

Parameters
paste_modeeither all or only value/animation/expression/texture/shading variable
destination_itemsthe target attributes