|   | 
	     
 
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   
 XMemory  Class ReferenceThis class makes it possible to override the C++ memory management by adding new/delete operators to this base class. 
More...
Inheritance diagram for XMemory:  
[legend]List of all members.
 Detailed Description
This class makes it possible to override the C++ memory management by adding new/delete operators to this base class.
This class is used in conjuction with the pluggable memory manager. It allows applications to control Xerces memory management. 
 
 
 Constructor & Destructor Documentation
 
  
    
      
        
          |  XMemory::XMemory  | 
          (  | 
                      | 
          )  | 
           [protected] | 
         
       
     | 
   
 
  
    | 
       
     | 
    
 
Protected default constructor and copy constructor.
 
      | 
   
 
 
  
    
      
        
          |  XMemory::XMemory  | 
          (  | 
          const XMemory &  | 
                      | 
          )  | 
           [protected] | 
         
       
     | 
   
 
 Member Function Documentation
 
  
    
      
        
          |  void XMemory::operator delete  | 
          (  | 
          void *  | 
            p,  | 
         
        
           | 
           | 
          MemoryManager *  | 
            memMgr | 
         
        
           | 
          )  | 
           | 
         
       
     | 
   
 
  
    | 
       
     | 
    
 
This method provides a matching delete for the placement new.
 
 - 
Parameters: 
 - 
| p  | 
The pointer to the allocated memory  |  
| memMgr  | 
An application's memory manager  |  
 
       | 
   
 
 
  
    
      
        
          |  void XMemory::operator delete  | 
          (  | 
          void *  | 
            p           | 
          )  | 
           | 
         
       
     | 
   
 
  
    | 
       
     | 
    
 
This method overrides operator delete.
 
 - 
Parameters: 
 - 
| p  | 
The pointer to the allocated memory  |  
 
       | 
   
 
 
  
    
      
        
          |  void* XMemory::operator new  | 
          (  | 
          size_t  | 
            size,  | 
         
        
           | 
           | 
          MemoryManager *  | 
            memMgr | 
         
        
           | 
          )  | 
           | 
         
       
     | 
   
 
  
    | 
       
     | 
    
 
This method overrides placement operator new.
 
 - 
Parameters: 
 - 
| size  | 
The requested memory size  |  
| memMgr  | 
An application's memory manager  |  
 
       | 
   
 
 
  
    
      
        
          |  void* XMemory::operator new  | 
          (  | 
          size_t  | 
            size           | 
          )  | 
           | 
         
       
     | 
   
 
  
    | 
       
     | 
    
 
This method overrides operator new.
 
 - 
Parameters: 
 - 
| size  | 
The requested memory size  |  
 
       | 
   
 
 The documentation for this class was generated from the following file:
     |