g4tools  5.4.0
Public Member Functions | List of all members
tools::long_out Class Reference
Inheritance diagram for tools::long_out:
Inheritance graph
[legend]
Collaboration diagram for tools::long_out:
Collaboration graph
[legend]

Public Member Functions

 long_out (long a_value)
 
 long_out (const long_out &a_from)
 
long_outoperator= (const long_out &a_from)
 

Detailed Description

Definition at line 12 of file long_out.

Constructor & Destructor Documentation

◆ long_out() [1/2]

tools::long_out::long_out ( long  a_value)
inline

Definition at line 15 of file long_out.

15  {
16  char s[512];
17  snpf(s,sizeof(s),"%ld",a_value);
18  parent::operator+=(s);
19  }

◆ long_out() [2/2]

tools::long_out::long_out ( const long_out a_from)
inline

Definition at line 21 of file long_out.

21 :parent(a_from){}

Member Function Documentation

◆ operator=()

long_out& tools::long_out::operator= ( const long_out a_from)
inline

Definition at line 22 of file long_out.

22 {parent::operator=(a_from);return *this;}

The documentation for this class was generated from the following file:
tools::snpf
int snpf(char *a_s, size_t a_n, const char *a_fmt,...)
Definition: snpf:27