Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 4.9Mb
PDF (A4) - 4.8Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.8Mb
HTML Download (Zip) - 1.9Mb


2.3.31.2 Object Methods

Abstract

The sections that follow describe each of the public methods of the Object class.

Important

All 3 of these methods are pure virtual methods, and are reimplemented in the Table, Index, and Event subclasses where needed.

2.3.31.2.1 Object::getObjectId()

Description.  This method retrieves the object's ID.

Signature. 

virtual int getObjectId
    (
      void
    ) const

Parameters.  None.

Return value.  The object ID, an integer.

2.3.31.2.2 Object::getObjectStatus()

Description.  This method retrieves the status of the object for which it is invoked.

Signature. 

virtual Status getObjectStatus
    (
      void
    ) const

Parameters.  None.

Return value.  Returns the current Status of the Object.

2.3.31.2.3 Object::getObjectVersion()

Description.  The method gets the current version of the object.

Signature. 

virtual int getObjectVersion
    (
      void
    ) const

Parameters.  None.

Return value.  The object's version number, an integer.


User Comments
Sign Up Login You must be logged in to post a comment.