Main Page Class Hierarchy Compound List File List Compound Members File Members

# ScriptBuilder Class Reference

Inheritance diagram for ScriptBuilder

[legend]
Collaboration diagram for ScriptBuilder:

[legend]
List of all members.

## Public Methods
const cmt_string& | build (const Symbol& symbol, const cmt_string& tag_name = "")
const cmt_string& | clean (const Symbol& symbol, const cmt_string& tag_name = "")
## Private Attributes
cmt_string | temp

## Member Function Documentation

const cmt_string & ScriptBuilder::build ( | const Symbol & symbol,
| const cmt_string & tag_name = "" )`[virtual]`

| Reimplemented from ValueBuilder. Definition at line 2049 of file cmt_symbol.cxx.
    02051 {
    02052   static const cmt_string empty = "";
    02053
    02054   if (symbol.value_lists.size () > 0)
    02055     {
    02056       const SymbolValueList& value_list = symbol.value_lists[0];
    02057
    02058       if (value_list.discarded) return (empty);
    02059
    02060       if ((value_list.use != 0) &&
    02061           (value_list.use->discarded)) return (empty);
    02062     }
    02063
    02064   return (symbol.name);
    02065 }

const cmt_string & ScriptBuilder::clean ( | const Symbol & symbol,
| const cmt_string & tag_name = "" )`[inline, virtual]`

| Reimplemented from ValueBuilder. Definition at line 67 of file cmt_symbol.cxx.
    00069       {
    00070         static const cmt_string empty = "";
    00071         return (empty);
    00072       }

## Member Data Documentation

cmt_string ScriptBuilder::temp`[private]`

| Definition at line 75 of file cmt_symbol.cxx.

The documentation for this class was generated from the following file:

- cmt_symbol.cxx