XDAQ

Webpages

svn doxygen

Code snipets

To pass from a xdata::Serializable cell that is a xdata::TimeVal to toolbox::TimeVal so that we can control the way the time is printed to string

xdata::Serializable* cell;
xdata::TimeVal *valueTime = dynamic_cast<xdata::TimeVal*>(cell);
valueTime->value_.toString("%d %b %y %T(UTC)", toolbox::TimeVal::gmt)

-- PedroParracho - 25-Jan-2010

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2010-01-25 - PedroParracho
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback