52 #ifndef __PCL_Property_h
53 #define __PCL_Property_h
95 using data_type = value_type::data_type;
189 return m_value.Type();
211 id.Break( tokens,
':' );
213 if ( !token.IsValidIdentifier() )
220 return IsValidIdentifier(
IsoString(
id ) );
229 return IsValidIdentifier( m_id ) && m_value.IsValid();
241 return m_id == other.m_id;
254 return m_id < other.m_id;
259 identifier_type m_id;
Eight-bit string (ISO/IEC-8859-1 or UTF-8 string)
Dynamic array of Property objects.
An identifier-value association.
void SetValue(const value_type &value)
Property(Property &&)=default
const identifier_type & Identifier() const
Property(const identifier_type &identifier)
static bool IsValidIdentifier(const IsoString &id)
Property(const Property &)=default
PropertyDescription Description() const
const identifier_type & Id() const
Property(const identifier_type &identifier, const value_type &value)
const value_type & Value() const
Acts like a union to store instances of different data types.
bool operator==(const Array< T, A > &x1, const Array< T, A > &x2) noexcept
bool operator<(const Array< T, A > &x1, const Array< T, A > &x2) noexcept
A structure to describe a data property.