# mgICreateMeasureUnit.h File Reference

Include dependency graph for mgICreateMeasureUnit.h:

This graph shows which files directly or indirectly include this file:

## Namespaces
namespace | OSGeo
namespace | OSGeo::FDO
namespace | OSGeo::FDO::Commands
namespace | OSGeo::FDO::Commands::UnitOfMeasure
## Functions
System::Void | OSGeo::FDO::Commands::UnitOfMeasure::Execute ()
| Executes the CreateMeasureUnit command. If the measure unit already exists and the update existing flag is set to false, an exception is thrown.
__property OSGeo::FDO::Commands::UnitOfMeasure::BaseUnit | OSGeo::FDO::Commands::UnitOfMeasure::get_BaseUnit ()
| Gets the base units that define the measure unit to create or update as an BaseUnit value.
__property System::String * | OSGeo::FDO::Commands::UnitOfMeasure::get_Description ()
| Gets the description of the measure unit to create or update as a string.
__property System::String * | OSGeo::FDO::Commands::UnitOfMeasure::get_Name ()
| Gets the name of the measure unit to create or update as a string.
__property System::Double | OSGeo::FDO::Commands::UnitOfMeasure::get_ScaleFactor ()
| Gets the scale factor to be applied to the base unit in order to get one of the units being defined.
__property System::Boolean | OSGeo::FDO::Commands::UnitOfMeasure::get_UpdateExisting ()
| Gets a Boolean flag that indicates how the CreateMeasureUnit command should behave if the measure unit already exists. If update existing is true and a measure unit with the specified abbreviation already exists then it will be updated. If update existing is false and a measure unit with the specified abbreviation already exists, command execution will fail.
__property System::Void | OSGeo::FDO::Commands::UnitOfMeasure::set_Abbreviation (System::String *value)
| Sets the abbreviation of the measure unit to create or update as a string. Abbreviations must be unique because they define the identity of a measurement unit.
__property System::Void | OSGeo::FDO::Commands::UnitOfMeasure::set_BaseUnit (OSGeo::FDO::Commands::UnitOfMeasure::BaseUnit value)
| Sets the base units that define the measure unit to create or update as an BaseUnit value.
__property System::Void | OSGeo::FDO::Commands::UnitOfMeasure::set_Description (System::String *value)
| Sets the description of the measure unit to create or update as a string.
__property System::Void | OSGeo::FDO::Commands::UnitOfMeasure::set_Name (System::String *value)
| Sets the name of the measure unit to create or update as a string.
__property System::Void | OSGeo::FDO::Commands::UnitOfMeasure::set_ScaleFactor (System::Double value)
| Sets the scale factor to be applied to the base unit in order to get one of the units being defined.
__property System::Void | OSGeo::FDO::Commands::UnitOfMeasure::set_UpdateExisting (System::Boolean value)
| Sets a Boolean flag that indicates how the CreateMeasureUnit command should behave if the measure unit already exists. If update existing is true and a measure unit of the specified name already exists, it will be updated. If update existing is false and a measure unit of the specified name already exists, command execution will fail.
## Variables
public __gc __interface | OSGeo::FDO::Commands::UnitOfMeasure::ICreateMeasureUnit