00001 //////////////////////////////////////////////////////////////////////// 00002 // $Id: MsgBoundFormat.h,v 1.1 2011/01/18 05:49:19 finch Exp $ 00003 // 00004 // A simple class to hold a value to be printed together with the format 00005 // to use to print it, 00006 // 00007 // messier@huhepl.harvard.edu 00008 // 00009 //////////////////////////////////////////////////////////////////////// 00010 #ifndef MSGBOUNDFORMAT_H 00011 #define MSGBOUNDFORMAT_H 00012 00013 class MsgFormat; 00014 00015 //...................................................................... 00016 00017 class MsgBoundFormat 00018 { 00019 public: 00020 MsgBoundFormat(const MsgFormat& ff, double v) : f(ff), val(v) { } 00021 00022 const MsgFormat& f; // Format to use to print 00023 double val; // Value to print 00024 }; 00025 00026 #endif // MSGBOUNDFORMAT_H