ML Reference
ml::SubImageBoxField Class Reference

Field to encapsulate an ML integer SubimgBox. More...

#include <mlFields.h>

Inheritance diagram for ml::SubImageBoxField:
ml::Field

List of all members.

Public Member Functions

 SubImageBoxField ()
 Default constructor, do not use it.
 SubImageBoxField (const std::string &name)
 Constructor, creates a field with a name to manage an integer box.
void setStringValue (const std::string &stringValue)
 Sets the value of the field to stringValue.
void setSubImageBoxValue (const SubImageBox &subImageBoxValue)
 Sets the value of the field to subImageBoxValue.
void updateSubImageBoxValue (const SubImageBox &subImageBoxValue)
 Sets the value of the field to subImageBoxValue, but only touch field if the new value is different from the old value.
std::string getStringValue () const
 Returns the value of the field as a string value.
const SubImageBoxgetSubImageBoxValue () const
 Returns the value of the field.
Deprecated
void setSubImgBoxValue (const SubImageBox &value)
const SubImageBoxgetSubImgBoxValue () const
 SubImageBoxField (const std::string &name, SubImageBox *valuePtr)

Protected Member Functions

virtual void setValueFromField (const Field &field)
 Reimplementation from Field which copies the field value more efficiently.

Detailed Description

Field to encapsulate an ML integer SubimgBox.

Definition at line 2455 of file mlFields.h.


Constructor & Destructor Documentation

ml::SubImageBoxField::SubImageBoxField ( )

Default constructor, do not use it.

ml::SubImageBoxField::SubImageBoxField ( const std::string &  name)

Constructor, creates a field with a name to manage an integer box.

Default value is an empty box.

ml::SubImageBoxField::SubImageBoxField ( const std::string &  name,
SubImageBox valuePtr 
)

Member Function Documentation

std::string ml::SubImageBoxField::getStringValue ( ) const [virtual]

Returns the value of the field as a string value.

setStringValue must be able to reinterpret this returned string correctly.

Implements ml::Field.

const SubImageBox& ml::SubImageBoxField::getSubImageBoxValue ( ) const

Returns the value of the field.

const SubImageBox& ml::SubImageBoxField::getSubImgBoxValue ( ) const [inline]
Deprecated:
Use getSubImageBoxValue instead.

Definition at line 2511 of file mlFields.h.

void ml::SubImageBoxField::setStringValue ( const std::string &  stringValue) [virtual]

Sets the value of the field to stringValue.

Implements ml::Field.

void ml::SubImageBoxField::setSubImageBoxValue ( const SubImageBox subImageBoxValue)

Sets the value of the field to subImageBoxValue.

void ml::SubImageBoxField::setSubImgBoxValue ( const SubImageBox value) [inline]
Deprecated:
Use setSubImageBoxValue instead.

Definition at line 2508 of file mlFields.h.

virtual void ml::SubImageBoxField::setValueFromField ( const Field field) [protected, virtual]

Reimplementation from Field which copies the field value more efficiently.

Reimplemented from ml::Field.

void ml::SubImageBoxField::updateSubImageBoxValue ( const SubImageBox subImageBoxValue)

Sets the value of the field to subImageBoxValue, but only touch field if the new value is different from the old value.


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