dcl.old.core
Class TextTemplate
Object
|
+--TextTemplate
in TextTemplate.h
- class TextTemplate
- extends Object
Method Summary |
inline int |
append( const StrStrAssocVector& vStrToStr )
|
inline int |
append( const char* pszMacro, const String& strValue )
|
inline int |
append( const char* pszMacro )
|
protected int |
append( const char* pszMacro, const TextTemplate& t, bool bClearExists )
|
protected int |
append( _CONST SQLFields& fields, const String& strFieldIsNull, bool bClearExists )
|
protected int |
append( const StrStrAssocVector& vStrToStr, bool bClearExists )
|
inline int |
append( const char* pszMacro, const TextTemplate& t )
|
protected int |
append( const char* pszMacro, const String& strValue, bool bClearExists )
|
inline int |
append( _CONST SQLFields& fields, const String& strFieldIsNull )
|
inline int |
assign( const StrStrAssocVector& vStrToStr )
|
inline int |
assign( const char* pszMacro )
|
inline int |
assign( const char* pszMacro, const String& strValue )
|
inline int |
assign( const char* pszMacro, const TextTemplate& t )
|
inline int |
assign( _CONST SQLFields& fields, const String& strFieldIsNull )
|
TextTemplate* |
atP( const String& strName ) const
|
void |
clear()
|
void |
erase( const char* pszMacro )
|
bool |
exists( const String& strName, bool bSubTemplate = true ) const
|
protected virtual String |
onSQLFieldValue( _CONST SQLField& field, const String& strFieldIsNull )
|
void |
open( const String& strName, const String& strFileName )
|
void |
open( const String& strFileName )
|
TextTemplate& |
operator=( const TextTemplate& src )
|
TextTemplate& |
operator[]( const String& strName )
|
protected void |
parse( char* psz )
|
protected void |
parseHelper( const char* psz )
|
void |
printTo( OutputStream& out ) const
|
void |
reset()
|
void |
showNullMacro( bool bShow, bool bWithSubTemplate )
|
m_bShowNullMacro
protected bool m_bShowNullMacro;
m_pSubTemplateMap
protected void* m_pSubTemplateMap;
m_pTextList
protected void* m_pTextList;
TextTemplate
public TextTemplate( const TextTemplate& src );
TextTemplate
public TextTemplate( const String& strFileName ) throw( IOException* );
TextTemplate
public TextTemplate();
~TextTemplate
public virtual ~TextTemplate();
append
public inline int append( const StrStrAssocVector& vStrToStr );
append
public inline int append( const char* pszMacro, const String& strValue );
append
public inline int append( const char* pszMacro );
append
protected int append( const char* pszMacro, const TextTemplate& t, bool bClearExists );
append
protected int append( _CONST SQLFields& fields, const String& strFieldIsNull, bool bClearExists );
append
protected int append( const StrStrAssocVector& vStrToStr, bool bClearExists );
append
public inline int append( const char* pszMacro, const TextTemplate& t );
append
protected int append( const char* pszMacro, const String& strValue, bool bClearExists );
append
public inline int append( _CONST SQLFields& fields, const String& strFieldIsNull );
assign
public inline int assign( const StrStrAssocVector& vStrToStr );
assign
public inline int assign( const char* pszMacro );
assign
public inline int assign( const char* pszMacro, const String& strValue );
assign
public inline int assign( const char* pszMacro, const TextTemplate& t );
assign
public inline int assign( _CONST SQLFields& fields, const String& strFieldIsNull );
atP
public TextTemplate* atP( const String& strName ) const;
clear
public void clear();
erase
public void erase( const char* pszMacro );
exists
public bool exists( const String& strName, bool bSubTemplate = true ) const;
onSQLFieldValue
protected virtual String onSQLFieldValue( _CONST SQLField& field, const String& strFieldIsNull );
open
public void open( const String& strName, const String& strFileName ) throw( IOException* );
open
public void open( const String& strFileName ) throw( IOException* );
operator=
public TextTemplate& operator=( const TextTemplate& src );
operator[]
public TextTemplate& operator[]( const String& strName );
parse
protected void parse( char* psz );
parseHelper
protected void parseHelper( const char* psz );
printTo
public void printTo( OutputStream& out ) const throw( IOException* );
reset
public void reset();
showNullMacro
public void showNullMacro( bool bShow, bool bWithSubTemplate );