FullyQualifiedTopic Class Reference
Type for fully qualified topics. More...
#include <TopicUtils.hh>
Public Member Functions | |
FullyQualifiedTopic (const std::string &_partition, const std::string &_ns, const std::string &_topic) | |
Constructor. | |
std::optional< std::string > | FullTopic () const |
Gets the fully qualified topic if it is valid. | |
const std::string & | Namespace () const |
Gets the namespace. | |
const std::string & | Partition () const |
Gets the partition. | |
const std::string & | Topic () const |
Gets the topic. | |
Detailed Description
Type for fully qualified topics.
Constructor & Destructor Documentation
◆ FullyQualifiedTopic()
|
inline |
Constructor.
- Parameters
-
[in] _partition Partition [in] _ns Namespace [in] _topic Unqualified topic
- See also
- TopicUtils::FullyQualifiedName
References TopicUtils::FullyQualifiedName().
Member Function Documentation
◆ FullTopic()
|
inline |
Gets the fully qualified topic if it is valid.
- Returns
- THe fully qualified topic if valid, otherwise std::nullopt
◆ Namespace()
|
inline |
Gets the namespace.
- Returns
- namespace
◆ Partition()
|
inline |
Gets the partition.
- Returns
- partition
◆ Topic()
|
inline |
Gets the topic.
- Returns
- topic
The documentation for this class was generated from the following file: