Static Public Member Functions

gmtl::output::VecOutputter< DATA_TYPE, SIZE, gmtl::meta::DefaultVecTag > Struct Template Reference

#include <Output.h>

List of all members.

Static Public Member Functions

static std::ostream & outStream (std::ostream &out, const VecBase< DATA_TYPE, SIZE, gmtl::meta::DefaultVecTag > &v)

Detailed Description

template<typename DATA_TYPE, unsigned SIZE>
struct gmtl::output::VecOutputter< DATA_TYPE, SIZE, gmtl::meta::DefaultVecTag >

Definition at line 41 of file Output.h.


Member Function Documentation

template<typename DATA_TYPE , unsigned SIZE>
static std::ostream& gmtl::output::VecOutputter< DATA_TYPE, SIZE, gmtl::meta::DefaultVecTag >::outStream ( std::ostream &  out,
const VecBase< DATA_TYPE, SIZE, gmtl::meta::DefaultVecTag > &  v 
) [inline, static]

Definition at line 43 of file Output.h.

         {
            out << "(";
            for ( unsigned i=0; i<SIZE; ++i )
            {
               if ( i != 0 )
               {
                  out << ", ";
               }
               out << v[i];
            }
            out << ")";
            return out;
         }


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