ldas-tools-frameAPI  3.0.3
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
RDSFrame::channel_name_type Struct Reference

RDS channel name type. More...

#include <rdsframe.hh>

Inheritance diagram for RDSFrame::channel_name_type:
Inheritance graph
[legend]
Collaboration diagram for RDSFrame::channel_name_type:
Collaboration graph
[legend]

Public Types

typedef std::pair< std::string, std::string > base_type
 
typedef std::pair< std::string, std::string > base_type
 
typedef std::pair< std::string, std::string > base_type
 

Public Member Functions

 channel_name_type (const channel_name_type &Source)
 
bool IsRenamed () const
 
 channel_name_type (const channel_name_type &Source)
 
bool IsRenamed () const
 
 channel_name_type (const channel_name_type &Source)
 
bool IsRenamed () const
 

Static Public Member Functions

template<typename ContainerOfNames , typename ContainerOfResampling >
static void ParseChannelName (const std::string &Source, ContainerOfNames &Names, ContainerOfResampling &Resampling)
 
template<typename ContainerOfNames , typename ContainerOfResampling >
static void ParseChannelName (const std::string &Source, ContainerOfNames &Names, ContainerOfResampling &Resampling)
 
template<typename ContainerOfNames , typename ContainerOfResampling >
static void ParseChannelName (const std::string &Source, ContainerOfNames &Names, ContainerOfResampling &Resampling)
 

Public Attributes

std::string & old_channel_name = first
 
std::string & new_channel_name = second
 

Friends

std::ostream & operator<< (std::ostream &OutputStream, channel_name_type const &ChannelName)
 
std::ostream & operator<< (std::ostream &OutputStream, channel_name_type const &ChannelName)
 
std::ostream & operator<< (std::ostream &OutputStream, channel_name_type const &ChannelName)
 

Detailed Description

RDS channel name type.

This structure contains two elements and is intended to handle channel renaming. If both elements are the same, no renaming takes place.

Member Typedef Documentation

◆ base_type [1/3]

typedef std::pair< std::string, std::string > RDSFrame::channel_name_type::base_type

◆ base_type [2/3]

typedef std::pair< std::string, std::string > RDSFrame::channel_name_type::base_type

◆ base_type [3/3]

typedef std::pair< std::string, std::string > RDSFrame::channel_name_type::base_type

Constructor & Destructor Documentation

◆ channel_name_type() [1/3]

RDSFrame::channel_name_type::channel_name_type ( const channel_name_type Source)
inline

◆ channel_name_type() [2/3]

RDSFrame::channel_name_type::channel_name_type ( const channel_name_type Source)
inline

◆ channel_name_type() [3/3]

RDSFrame::channel_name_type::channel_name_type ( const channel_name_type Source)
inline

Member Function Documentation

◆ IsRenamed() [1/3]

bool RDSFrame::channel_name_type::IsRenamed ( ) const
inline

◆ IsRenamed() [2/3]

bool RDSFrame::channel_name_type::IsRenamed ( ) const
inline

◆ IsRenamed() [3/3]

bool RDSFrame::channel_name_type::IsRenamed ( ) const
inline

◆ ParseChannelName() [1/3]

template<typename ContainerOfNames , typename ContainerOfResampling >
static void RDSFrame::channel_name_type::ParseChannelName ( const std::string &  Source,
ContainerOfNames &  Names,
ContainerOfResampling &  Resampling 
)
inlinestatic

◆ ParseChannelName() [2/3]

template<typename ContainerOfNames , typename ContainerOfResampling >
static void RDSFrame::channel_name_type::ParseChannelName ( const std::string &  Source,
ContainerOfNames &  Names,
ContainerOfResampling &  Resampling 
)
inlinestatic

◆ ParseChannelName() [3/3]

template<typename ContainerOfNames , typename ContainerOfResampling >
static void RDSFrame::channel_name_type::ParseChannelName ( const std::string &  Source,
ContainerOfNames &  Names,
ContainerOfResampling &  Resampling 
)
inlinestatic

Friends And Related Function Documentation

◆ operator<< [1/3]

std::ostream& operator<< ( std::ostream &  OutputStream,
channel_name_type const &  ChannelName 
)
friend

◆ operator<< [2/3]

std::ostream& operator<< ( std::ostream &  OutputStream,
channel_name_type const &  ChannelName 
)
friend

◆ operator<< [3/3]

std::ostream& operator<< ( std::ostream &  OutputStream,
channel_name_type const &  ChannelName 
)
friend

Member Data Documentation

◆ new_channel_name

std::string & RDSFrame::channel_name_type::new_channel_name = second

◆ old_channel_name

std::string & RDSFrame::channel_name_type::old_channel_name = first

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