Public Member Functions | Private Attributes

dbo_EnablePartition Class Reference

#include <rm_dboperation.h>

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

List of all members.

Public Member Functions

 dbo_EnablePartition (rm_String &a_partName, rm_DBThread &a_DBThread)
virtual void Process ()

Private Attributes

rm_String m_partName
 log_CLASSID_m

Detailed Description

Definition at line 1518 of file rm_dboperation.h.


Constructor & Destructor Documentation

dbo_EnablePartition::dbo_EnablePartition ( rm_String a_partName,
rm_DBThread a_DBThread 
)

Definition at line 1653 of file rm_dboperation.cpp.

                                                 : 

                rm_DBOperation(a_DBThread),
                m_partName(a_partName)
                {
    /*empty*/
}


Member Function Documentation

void dbo_EnablePartition::Process (  )  [virtual]

Implements rm_DBOperation.

Definition at line 1664 of file rm_dboperation.cpp.

References rm_DBOperation::m_DBThread, m_partName, rm_DBThread::m_rmOp, rm_Operator::SelectPartition(), rm_Partition::status, and rm_Operator::UpdatePartition().

                                  {
    rm_Partition part;
    part = m_DBThread.m_rmOp.SelectPartition(m_partName);

    part.status = part.status & ~(rmdb_PARTITION_DISABLED);

    m_DBThread.m_rmOp.UpdatePartition(part);
}

Here is the call graph for this function:


Member Data Documentation

Reimplemented from rm_DBOperation.

Definition at line 1528 of file rm_dboperation.h.

Definition at line 1527 of file rm_dboperation.h.

Referenced by Process().


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