TSDuck v3.38-3744
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ApplicationIdentifier Struct Reference

Representation of an Application Identifier. More...

#include <tsApplicationIdentifier.h>

Public Member Functions

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

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

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: