IoT::OPC

class LocalizedText

File Information

Library: IoT/OPC
Package: OPCCore
Header: IoT/OPC/Types.h

Description

A LocalizedText combines a locale identifier with a string.

Member Summary

Member Functions: internal, locale, operator !=, operator =, operator ==, text

Constructors

LocalizedText

LocalizedText();

Creates an empty name.

LocalizedText

LocalizedText(
    const LocalizedText & other
);

Creates the LocalizedText by copying another one.

LocalizedText

LocalizedText(
    LocalizedText && other
);

Creates the LocalizedText by moving another one.

LocalizedText

LocalizedText(
    const UA_LocalizedText & other
);

Creates the LocalizedText from an UA_LocalizedText struct.

LocalizedText

LocalizedText(
    const std::string & locale,
    const std::string & text
);

Creates the LocalizedText.

Destructor

~LocalizedText

~LocalizedText();

Destroys the LocalizedText.

Member Functions

internal

UA_LocalizedText internal() const;

Returns a UA_LocalizedText struct.

locale inline

const std::string & locale() const;

Returns the locale.

locale

void locale(
    const std::string & value
);

operator !=

bool operator != (
    const LocalizedText & other
) const;

operator =

LocalizedText & operator = (
    const LocalizedText & other
);

Assignment.

operator =

LocalizedText & operator = (
    const UA_LocalizedText & other
);

Assignment from UA_LocalizedText.

operator =

LocalizedText & operator = (
    LocalizedText && other
);

Move assignment.

operator ==

bool operator == (
    const LocalizedText & other
) const;

text inline

const std::string & text() const;

Returns the text.

text

void text(
    const std::string & value
);

Securely control IoT edge devices from anywhere   Connect a Device