A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
get-wildcard-matches.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 University of Washington
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Mitch Watrous (watrous@u.washington.edu)
7
*/
8
9
#ifndef GET_WILDCARD_MATCHES_H
10
#define GET_WILDCARD_MATCHES_H
11
12
#include <string>
13
14
namespace
ns3
15
{
16
17
/**
18
* \param configPath Config path to access the probe.
19
* \param matchedPath the path that matched the Config path.
20
* \param wildcardSeparator the text to put between the wildcard
21
* matches. By default, a space is used.
22
* \return String value of text matches
23
*
24
* \brief Returns the text matches from the matched path for each of
25
* the wildcards in the Config path, separated by the wild card
26
* separator.
27
*/
28
std::string
GetWildcardMatches
(
const
std::string& configPath,
29
const
std::string& matchedPath,
30
const
std::string& wildcardSeparator =
" "
);
31
32
}
// namespace ns3
33
34
#endif
// GET_WILDCARD_MATCHES_H
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::GetWildcardMatches
std::string GetWildcardMatches(const std::string &configPath, const std::string &matchedPath, const std::string &wildcardSeparator)
Returns the text matches from the matched path for each of the wildcards in the Config path,...
Definition
get-wildcard-matches.cc:20
src
stats
model
get-wildcard-matches.h
Generated on Fri Nov 8 2024 13:59:06 for ns-3 by
1.11.0