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
Retrieves a list of property names.
virtual bool GetPropertyAvailable(const String_t & Name) const
Returns true if a property with the provided name is available.
virtual bool GetPropertyValue(const String_t & Name, String_t & Value) const
Retrieves a property value.
virtual IProperties & SetPropertyValue(const String_t & Name, const String_t & Value)
Modifies a property value.
virtual bool IsSubset(const IProperties & Subset) const

Public Functions Documentation#

GetPropertyNames#

virtual int GetPropertyNames(
    StringList_t & 
) const 

Retrieves a list of property names.

Reimplemented by: Pylon::CDeviceInfo::GetPropertyNames

GetPropertyAvailable#

virtual bool GetPropertyAvailable(
    const String_t & Name
) const 

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

Reimplemented by: Pylon::CDeviceInfo::GetPropertyAvailable

GetPropertyValue#

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

Retrieves a property value.

Reimplemented by: Pylon::CDeviceInfo::GetPropertyValue

SetPropertyValue#

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

Modifies a property value.

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

IsSubset#

virtual bool IsSubset(
    const IProperties & Subset
) const 

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


Updated on 5 July 2022 at 15:30:00