stlab.adobe.com Adobe Systems Incorporated

number_formatter_t Struct Reference

#include <number_formatter.hpp>

List of all members.

Public Member Functions

template<typename Numeric >
std::string format (const Numeric &x)
template<>
std::string format (const any_regular_t &x)
std::string get_format () const
 number_formatter_t ()
template<typename Numeric >
Numeric parse (const std::string &str, any_regular_t=any_regular_t())
void set_format (const std::string &format)
 ~number_formatter_t ()

Detailed Description

Definition at line 35 of file number_formatter.hpp.


Constructor & Destructor Documentation

Definition at line 37 of file number_formatter.hpp.

Definition at line 48 of file number_formatter.hpp.


Member Function Documentation

std::string format ( const Numeric &  x )

Definition at line 77 of file number_formatter.hpp.

std::string format ( const any_regular_t x )
std::string get_format (  ) const
any_regular_t parse< any_regular_t > ( const std::string &  str,
any_regular_t  = any_regular_t() 
)

Definition at line 81 of file number_formatter.hpp.

void set_format ( const std::string &  format )

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google