TSDuck Version 3.32-2769 (TSDuck - The MPEG Transport Stream Toolkit)
ts::ApplicationIdentifier Struct Reference

Representation of an Application Identifier. More...

Public Member Functions

 ApplicationIdentifier (uint32_t org_id=0, uint16_t app_id=0)
 Constructor from two ids. More...
 
bool operator!= (const ApplicationIdentifier &that) const
 Inequality operator. More...
 
bool operator< (const ApplicationIdentifier &that) const
 Lower than operator. More...
 
bool operator== (const ApplicationIdentifier &that) const
 Equality operator. More...
 

Public Attributes

uint16_t application_id
 The application identifier.
 
uint32_t organization_id
 The organization identifier.
 

Detailed Description

Representation of an Application Identifier.

Constructor & Destructor Documentation

◆ ApplicationIdentifier()

ts::ApplicationIdentifier::ApplicationIdentifier ( uint32_t  org_id = 0,
uint16_t  app_id = 0 
)
inline

Constructor from two ids.

Parameters
[in]org_idOrganization identifier.
[in]app_idApplication identifier.

Member Function Documentation

◆ operator==()

bool ts::ApplicationIdentifier::operator== ( const ApplicationIdentifier that) const
inline

Equality operator.

Parameters
[in]thatIdentifier to compare to.
Returns
True if both identifiers are equals, False otherwise.

◆ operator!=()

bool ts::ApplicationIdentifier::operator!= ( const ApplicationIdentifier that) const
inline

Inequality operator.

Parameters
[in]thatIdentifier to compare to.
Returns
True if both identifiers are not equals, False otherwise.

◆ operator<()

bool ts::ApplicationIdentifier::operator< ( const ApplicationIdentifier that) const
inline

Lower than operator.

It compares first the organization id, then the application id.

Parameters
[in]thatIdentifier to compare to.
Returns
True if the identifier is lower than the other one, False otherwise.

The documentation for this struct was generated from the following file: