ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
str.cpp File Reference

(Last Changed on April 04, 2020 for git-revision 4c2b56675dc4e9eae07127ba8f8733c85ab28d01.)

Functions for str. More...

#include <fvar.hpp>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

Go to the source code of this file.

Functions

adstring chr (int c)
 
adstring str (double x, int minwidth, int decplaces)
 Convert x to adstring with minimum width and total number of decimal places. More...
 
void str (const int a, adstring &s)
 Convert integer a to adstring s. More...
 
adstring str (const int a)
 Returns converted string representation of integer a. More...
 

Detailed Description

Functions for str.

Author
David Fournier

Definition in file str.cpp.

Function Documentation

adstring chr ( int  c)

Definition at line 124 of file str.cpp.

adstring str ( double  x,
int  minwidth = 17,
int  decplaces = -1 
)
void str ( const int  a,
adstring s 
)

Convert integer a to adstring s.

Parameters
aValue to be converted.
sConverted adstring of a.

Definition at line 95 of file str.cpp.

adstring str ( const int  a)

Returns converted string representation of integer a.

Parameters
aValue to be converted.

Definition at line 110 of file str.cpp.