#include <opennurbs_parse.h>
◆ ON_LengthUnitName() [1/2]
ON_LengthUnitName::ON_LengthUnitName |
( |
| ) |
|
|
default |
◆ ~ON_LengthUnitName()
ON_LengthUnitName::~ON_LengthUnitName |
( |
| ) |
|
|
default |
◆ ON_LengthUnitName() [2/2]
◆ CompareLocaleIdUnitSystemName()
Description: Dictionary compare of all ON_LengthUnitName information in the order locale id, unit system, name, singular, plural
◆ CompareUnitSystemLocaleIdName()
Description: Dictionary compare of all ON_LengthUnitName information in the order unit system, locale id, name, singular, plural
◆ Create()
◆ GetLengthUnitNameList()
static unsigned int ON_LengthUnitName::GetLengthUnitNameList |
( |
size_t |
length_unit_list_capacity, |
|
|
class ON_LengthUnitName * |
length_unit_list |
|
) |
| |
|
static |
Description: Get list of length unit names and abbreviations and their corresponding unit systems that are recognized by ON_ParseLengthUnitSystemName().
Parameters: length_unit_list_capacity - [in] number of available elements in length_unit_list[] If length_unit_list_capacity is zero and length_unit_list is null, then the number of length unit names is returned. length_unit_list - [out] The list of length unit names is returned here.
Returns: Number of length unit names and abbreviations.
Example: unsigned int count = ON_GetLengthUnitNameList(0,0); ON_UnitName* length_unit_list = new (std::nothrow) ON_UnitName[capacity]; count = ON_GetLengthUnitNameList(count,length_unit_list); ... delete[] length_unit_list; Remarks: If length_unit_list_capacity is zero and length_unit_list is null, then the number of length unit names is returned.
◆ LengthUnit()
◆ LengthUnitAndNameAreSet()
bool ON_LengthUnitName::LengthUnitAndNameAreSet |
( |
| ) |
const |
◆ LengthUnitIsSet()
bool ON_LengthUnitName::LengthUnitIsSet |
( |
| ) |
const |
◆ LengthUnitIsSetOrNone()
bool ON_LengthUnitName::LengthUnitIsSetOrNone |
( |
| ) |
const |
◆ LengthUnitName()
const wchar_t* ON_LengthUnitName::LengthUnitName |
( |
| ) |
const |
Returns: A pointer to a localized length unit name or a pointer to an empty string. Remarks: Never returns nullptr.
◆ LengthUnitNameIsEmpty()
bool ON_LengthUnitName::LengthUnitNameIsEmpty |
( |
| ) |
const |
◆ LengthUnitNameIsNotEmpty()
bool ON_LengthUnitName::LengthUnitNameIsNotEmpty |
( |
| ) |
const |
◆ LengthUnitNameIsPlural()
bool ON_LengthUnitName::LengthUnitNameIsPlural |
( |
| ) |
const |
Remarks: True if the length unit name is plural in languages where that question has a meaningful answer. Remarks: Some names and name abbreviations are both singular and plural.
◆ LengthUnitNameIsSingular()
bool ON_LengthUnitName::LengthUnitNameIsSingular |
( |
| ) |
const |
Remarks: True if the length unit name is singular in languages where that question has a meaningful answer. Remarks: Some names and name abbreviations are both singular and plural.
◆ LocaleId()
unsigned int ON_LengthUnitName::LocaleId |
( |
| ) |
const |
◆ operator=()
◆ None