A Discrete-Event Network Simulator
API
Classes | Namespaces | Functions
vector.h File Reference

ns3::Vector, ns3::Vector2D and ns3::Vector3D declarations. More...

#include "attribute.h"
#include "attribute-helper.h"

Go to the source code of this file.

Classes

class  ns3::Vector2D
 a 2d vector More...
 
class  ns3::Vector2DChecker
 
AttributeChecker implementation for Vector2DValue. More...
 
class  ns3::Vector2DValue
 
AttributeValue implementation for Vector2D. More...
 
class  ns3::Vector3D
 a 3d vector More...
 
class  ns3::Vector3DChecker
 
AttributeChecker implementation for Vector3DValue. More...
 
class  ns3::Vector3DValue
 
AttributeValue implementation for Vector3D. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

double ns3::CalculateDistance (const Vector3D &a, const Vector3D &b)
 
double ns3::CalculateDistance (const Vector2D &a, const Vector2D &b)
 
template<typename T1 >
Ptr< const AttributeAccessor > ns3::MakeVector2DAccessor (T1 a1)
 
Create an AttributeAccessor for a class data member, or a lone class get functor or set method. More...
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeVector2DAccessor (T1 a1, T2 a2)
 
Create an AttributeAccessor using a pair of get functor and set methods from a class. More...
 
Ptr< const AttributeChecker > ns3::MakeVector2DChecker (void)
 
More...
 
template<typename T1 >
Ptr< const AttributeAccessor > ns3::MakeVector3DAccessor (T1 a1)
 
Create an AttributeAccessor for a class data member, or a lone class get functor or set method. More...
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeVector3DAccessor (T1 a1, T2 a2)
 
Create an AttributeAccessor using a pair of get functor and set methods from a class. More...
 
Ptr< const AttributeChecker > ns3::MakeVector3DChecker (void)
 
More...
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeVectorAccessor (T1 a1, T2 a2)
 
template<typename T1 >
Ptr< const AttributeAccessor > ns3::MakeVectorAccessor (T1 a1)
 
bool ns3::operator< (const Vector3D &a, const Vector3D &b)
 
bool ns3::operator< (const Vector2D &a, const Vector2D &b)
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector3D &vector)
 
std::ostream & ns3::operator<< (std::ostream &os, const Vector2D &vector)
 
std::istream & ns3::operator>> (std::istream &is, Vector3D &vector)
 
std::istream & ns3::operator>> (std::istream &is, Vector2D &vector)
 

Detailed Description

ns3::Vector, ns3::Vector2D and ns3::Vector3D declarations.

Definition in file vector.h.