#include <cccc_htm.h>
Definition at line 116 of file cccc_htm.h.
Source_Anchor::Source_Anchor |
( |
| ) |
|
|
inline |
Source_Anchor::Source_Anchor |
( |
string |
file, |
|
|
int |
line |
|
) |
| |
|
inline |
void Source_Anchor::Emit_HREF |
( |
ofstream & |
fstr | ) |
|
Definition at line 1486 of file cccc_htm.cc.
1488 string anchor_key=
key();
1490 fstr <<
"<CODE><A HREF=\"cccc_src.html#" << anchor_key.c_str() <<
"\">"
void Source_Anchor::Emit_NAME |
( |
ofstream & |
fstr | ) |
|
Definition at line 1495 of file cccc_htm.cc.
1497 string anchor_key=
key();
1499 sprintf(ln_buf,
"%d",
line_);
1500 string ln_string=
pad_string(8,ln_buf,
" ");
1501 string space_string=
pad_string(2,
"",
" ");
1502 fstr <<
"<A NAME=\"" << anchor_key.c_str() <<
"\">"
1503 << ln_string.c_str() << space_string.c_str() <<
"</A>";
static string pad_string(int target_width, string the_string, string padding)
void Source_Anchor::Emit_SPACE |
( |
ofstream & |
fstr | ) |
|
Definition at line 1506 of file cccc_htm.cc.
1508 string space_string=
pad_string(10,
"",
" ");
1509 fstr << space_string.c_str();
static string pad_string(int target_width, string the_string, string padding)
string Source_Anchor::get_file |
( |
| ) |
const |
|
inline |
int Source_Anchor::get_line |
( |
| ) |
const |
|
inline |
string Source_Anchor::key |
( |
| ) |
const |
Definition at line 1476 of file cccc_htm.cc.
1480 sprintf(linebuf,
"%d",
line_);
static string pad_string(int target_width, string the_string, string padding)
string Source_Anchor::file_ |
|
private |
The documentation for this class was generated from the following files: