MeVisLabToolboxReference
ml::StandardItemModel::Attribute Struct Reference

Defines the name of an attribute and its default value. More...

#include <mlStandardItemModel.h>

List of all members.

Public Member Functions

 Attribute (const std::string &name, const Variant &defaultValue=Variant())

Public Attributes

std::string name
 Name of the attribute.
Variant defaultValue
 Default value of the attribute.

Detailed Description

Defines the name of an attribute and its default value.

If no default value is given, Variant() is used.

Definition at line 28 of file mlStandardItemModel.h.


Constructor & Destructor Documentation

ml::StandardItemModel::Attribute::Attribute ( const std::string &  name,
const Variant defaultValue = Variant() 
) [inline]

Definition at line 30 of file mlStandardItemModel.h.


Member Data Documentation

Default value of the attribute.

Definition at line 38 of file mlStandardItemModel.h.

Name of the attribute.

Definition at line 36 of file mlStandardItemModel.h.


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