Example Case: Implementation

Example Case: Implementation

class resistor {

private:

// Member Variables

char *part_number[30];

char *description[80];

package *electrical_package;

solid_material *primary_structural_material;

double magnitude;

double tolerance;

double power_rating;

solid_material base_material;

// Declaration of Access Member Functions

public:

char * part_number(void);

char *description(void);

package *package(void);

solid_material *primary_structural_material(void);

double magnitude(void);

double tolerance(void);

double power_rating(void);

solid_material *base_material(void);

};

// Definition of Access Member Functions

solid_material resistor:: primary_structural_material( void ) {

return( base_material );

}

// Other member function definitions...

Implementation (in C++)

Partial AOPM Schema (in EXPRESS)

In red: idealization

Previous slide Next slide Back to the first slide View Graphic Version