Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes
txStripSpaceItem Class Reference

#include <txToplevelItems.h>

Inheritance diagram for txStripSpaceItem:
Inheritance graph
[legend]
Collaboration diagram for txStripSpaceItem:
Collaboration graph
[legend]

List of all members.

Public Types

enum  type {
  attributeSet, dummy, import, output,
  stripSpace, templ, variable
}

Public Member Functions

virtual ~txStripSpaceItem ()
TX_DECL_TOPLEVELITEM nsresult addStripSpaceTest (txStripSpaceTest *aStripSpaceTest)
virtual type getType ()=0

Public Attributes

nsVoidArray mStripSpaceTests

Detailed Description

Definition at line 122 of file txToplevelItems.h.


Member Enumeration Documentation

enum txToplevelItem::type [inherited]
Enumerator:
attributeSet 
dummy 
import 
output 
stripSpace 
templ 
variable 

Definition at line 58 of file txToplevelItems.h.

              {
        attributeSet,
        dummy,
        import,
        //namespaceAlias,
        output,
        stripSpace, //also used for preserve-space
        templ,
        variable
    };

Constructor & Destructor Documentation

Definition at line 51 of file txToplevelItems.cpp.

{
    PRInt32 i, count = mStripSpaceTests.Count();
    for (i = 0; i < count; ++i) {
        delete NS_STATIC_CAST(txStripSpaceTest*, mStripSpaceTests[i]);
    }
}

Member Function Documentation

Definition at line 60 of file txToplevelItems.cpp.

{
    if (!mStripSpaceTests.AppendElement(aStripSpaceTest)) {
        return NS_ERROR_OUT_OF_MEMORY;
    }

    return NS_OK;
}

Here is the caller graph for this function:

virtual type txToplevelItem::getType ( ) [pure virtual, inherited]

Here is the caller graph for this function:


Member Data Documentation

Definition at line 131 of file txToplevelItems.h.


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