A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::ParseResult Struct Reference

Type to maintain line parsed and its values. More...

+ Collaboration diagram for ns3::ParseResult:

Public Attributes

std::vector< doubledvals
 double values for each tokens
 
std::vector< bool > has_dval
 points if a tokens has a double value
 
std::vector< bool > has_ival
 points if a tokens has an int value
 
std::vector< int > ivals
 int values for each tokens
 
std::vector< std::string > svals
 string value for each token
 
std::vector< std::string > tokens
 tokens from a line
 

Detailed Description

Type to maintain line parsed and its values.

Definition at line 58 of file ns2-mobility-helper.cc.

Member Data Documentation

◆ dvals

std::vector<double> ns3::ParseResult::dvals

double values for each tokens

Definition at line 63 of file ns2-mobility-helper.cc.

Referenced by ns3::Ns2MobilityHelper::ConfigNodesMovements(), and ns3::ParseNs2Line().

◆ has_dval

std::vector<bool> ns3::ParseResult::has_dval

points if a tokens has a double value

Definition at line 64 of file ns2-mobility-helper.cc.

Referenced by ns3::IsSchedMobilityPos(), ns3::IsSchedSetPos(), ns3::IsSetInitialPos(), and ns3::ParseNs2Line().

◆ has_ival

std::vector<bool> ns3::ParseResult::has_ival

points if a tokens has an int value

Definition at line 62 of file ns2-mobility-helper.cc.

Referenced by ns3::ParseNs2Line().

◆ ivals

std::vector<int> ns3::ParseResult::ivals

int values for each tokens

Definition at line 61 of file ns2-mobility-helper.cc.

Referenced by ns3::GetNodeIdInt(), and ns3::ParseNs2Line().

◆ svals

std::vector<std::string> ns3::ParseResult::svals

string value for each token

Definition at line 65 of file ns2-mobility-helper.cc.

Referenced by ns3::GetNodeIdString(), and ns3::ParseNs2Line().

◆ tokens

std::vector<std::string> ns3::ParseResult::tokens

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