Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Vector_n.C File Reference
#include "Vector_n.h"
Include dependency graph for Vector_n.C:

Go to the source code of this file.

Functions

RFC_BEGIN_NAME_SPACE std::ostream & operator<< (std::ostream &os, const Array_n_const &v)
 

Function Documentation

RFC_BEGIN_NAME_SPACE std::ostream& operator<< ( std::ostream &  os,
const Array_n_const v 
)

Definition at line 29 of file Vector_n.C.

References Array_n_const::begin(), and Array_n_const::end().

29  {
30  const Real *p=v.begin();
31  if ( p!=v.end()) for (;;) {
32  os << *p;
33  ++p;
34  if ( p!=v.end())
35  os << " ";
36  else
37  break;
38  }
39  return os;
40 }
double Real
Definition: mapbasic.h:322
Const_pointer begin() const
Definition: Vector_n.h:81
Const_pointer end() const
Definition: Vector_n.h:82

Here is the call graph for this function: