A Discrete-Event Network Simulator
API
ns3::ParseResult Struct Reference

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

+ Collaboration diagram for ns3::ParseResult:

Public Attributes

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

Detailed Description

Type to maintain line parsed and its values.

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

Member Data Documentation

◆ dvals

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

double values for each tokens

Definition at line 74 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 75 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 73 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 72 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 76 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: