RGBColor.cpp File Reference


Detailed Description

Author:
Daniel Krajzewicz
Date:
Sept 2002
Version:
Id
RGBColor.cpp 8690 2010-04-29 12:59:14Z dkrajzew

Definition in file RGBColor.cpp.

#include <config.h>
#include <cmath>
#include <string>
#include <sstream>
#include <utils/common/StringTokenizer.h>
#include <utils/common/TplConvert.h>
#include <utils/common/MsgHandler.h>
#include "RGBColor.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const RGBColor &col)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const RGBColor col 
)

Parameters:
[out] os The stream to write to
[in] col The color to write
Returns:
The stream

Definition at line 78 of file RGBColor.cpp.

References RGBColor::myBlue, RGBColor::myGreen, and RGBColor::myRed.

00078                                                 {
00079     os
00080     << col.myRed << ","
00081     << col.myGreen << ","
00082     << col.myBlue;
00083     return os;
00084 }


Generated on Wed May 5 00:06:39 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6