All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SPAlaw Class minus_law

SPAbase.ACIS_OBJECT
  |
  +---SPAlaw.law
    |
    +---SPAlaw.binary_law
      |
      +---minus_law
 

Usage: you can derive this class.


public class minus_law

Provides methods for the minus, or subtraction, mathematical function.


Constructor and Destructor Index


o minus_law(law*,law*)
Constructs a minus_law.

Method Index


o id()
Returns a unique ID that may be used to identify a law's class type.

Constructor and Destructor


o minus_law
public minus_law(law* in_left_law,
law* in_right_law)
Constructs a minus_law.

Role: This has two pointers to sublaws passed in as arguments.

Parameters:
in_left_law
pointer to 1st sublaw.
in_right_law
pointer to 2nd sublaw.

Methods


o id
public static int id()
Returns a unique ID that may be used to identify a law's class type.

Role: This method should not be called directly by the application. All derived law classes must have this method. The isa, id, and type methods are used to identify a law's class type.

This object is included in the file: main_law.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.