Skip to content

Pylon::IProperties#

interface for a property container

#include <pylon/Info.h>

Inherited by Pylon::CInfoBase

Public Functions#

Name
virtual int GetPropertyNames(StringList_t & ) const =0
Retrieves a list of property names.
virtual bool GetPropertyAvailable(const String_t & Name) const =0
Returns true if a property with the provided name is available.
virtual bool GetPropertyValue(const String_t & Name, String_t & Value) const =0
Retrieves a property value.
virtual IProperties & SetPropertyValue(const String_t & Name, const String_t & Value) =0
Modifies a property value.
virtual bool IsSubset(const IProperties & Subset) const =0

Public Functions Documentation#

function GetPropertyNames#

virtual int GetPropertyNames(
    StringList_t &
) const =0

Retrieves a list of property names.

Reimplemented by: Pylon::CDeviceInfo::GetPropertyNames

function GetPropertyAvailable#

virtual bool GetPropertyAvailable(
    const String_t & Name
) const =0

Returns true if a property with the provided name is available.

Reimplemented by: Pylon::CDeviceInfo::GetPropertyAvailable

function GetPropertyValue#

virtual bool GetPropertyValue(
    const String_t & Name,
    String_t & Value
) const =0

Retrieves a property value.

Reimplemented by: Pylon::CDeviceInfo::GetPropertyValue

function SetPropertyValue#

virtual IProperties & SetPropertyValue(
    const String_t & Name,
    const String_t & Value
) =0

Modifies a property value.

Reimplemented by: Pylon::CInfoBase::SetPropertyValue, Pylon::CDeviceInfo::SetPropertyValue

function IsSubset#

virtual bool IsSubset(
    const IProperties & Subset
) const =0

Reimplemented by: Pylon::CInfoBase::IsSubset, Pylon::CDeviceInfo::IsSubset

Returns true if all properties of the subset can be found and the values are equal The implementing container may use special knowledge on how to compare the values For instance for IP adresses, 192.2.3.45 == 192.2.3.0x2D