ns3::Gnuplot2dFunction::Function2d Struct Reference

Inheritance diagram for ns3::Gnuplot2dFunction::Function2d:
Inheritance graph
[legend]
Collaboration diagram for ns3::Gnuplot2dFunction::Function2d:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Function2d (const std::string &title, const std::string &function)
virtual std::string GetCommand () const
virtual void PrintExpression (std::ostream &os) const
virtual void PrintDatafile (std::ostream &os) const

Public Attributes

std::string m_function

Detailed Description

Definition at line 340 of file gnuplot.cc.


Constructor & Destructor Documentation

ns3::Gnuplot2dFunction::Function2d::Function2d ( const std::string &  title,
const std::string &  function 
)

Initializes with the function and title.

Definition at line 356 of file gnuplot.cc.


Member Function Documentation

std::string ns3::Gnuplot2dFunction::Function2d::GetCommand (  )  const [virtual]

Returns "plot" or "splot".

Implements ns3::GnuplotDataset::Data.

Definition at line 363 of file gnuplot.cc.

void ns3::Gnuplot2dFunction::Function2d::PrintDatafile ( std::ostream &  os  )  const [virtual]

Print the inline data file contents trailing the plot command. Empty for functions.

Implements ns3::GnuplotDataset::Data.

Definition at line 381 of file gnuplot.cc.

void ns3::Gnuplot2dFunction::Function2d::PrintExpression ( std::ostream &  os  )  const [virtual]

Prints the plot description used as argument to (s)plot. Either the function expression or a datafile description. Should include m_title and m_extra in the output.

Implements ns3::GnuplotDataset::Data.

Definition at line 369 of file gnuplot.cc.


Member Data Documentation

Definition at line 344 of file gnuplot.cc.


The documentation for this struct was generated from the following file:
Generated on Thu Dec 3 14:10:04 2009 for NS-3 by  doxygen 1.6.3