Typedefs | Functions
derived1.h File Reference
#include "common.h"
#include "base1.h"
#include "base2.h"

Go to the source code of this file.

Typedefs

typedef struct derived1_st_derived1_handle

Functions

my_rc_e derived1_increase_val4 (derived1_handle derived1_h)
base1_handle derived1_cast_to_base1 (derived1_handle derived1_h)
base2_handle derived1_cast_to_base2 (derived1_handle derived1_h)
derived1_handle derived1_new1 (void)

Detailed Description

Author:
Matt Miller <matt@matthewjmiller.net>

LICENSE

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

DESCRIPTION

This is the public interface for derived1 class, which inherits from base1 and base2.

Definition in file derived1.h.


Typedef Documentation

typedef struct derived1_st_* derived1_handle

Opaque pointer to reference instances of this class

Definition at line 33 of file derived1.h.


Function Documentation

base1_handle derived1_cast_to_base1 ( derived1_handle  derived1_h)

Cast the derived1 object to base1.

Parameters:
derived1_hThe derived1 object
Returns:
The base1 object

Definition at line 449 of file derived1.c.

base2_handle derived1_cast_to_base2 ( derived1_handle  derived1_h)

Cast the derived1 object to base2.

Parameters:
derived1_hThe derived1 object
Returns:
The base2 object

Definition at line 467 of file derived1.c.

my_rc_e derived1_increase_val4 ( derived1_handle  derived1_h)

Increase val4 for the object. This is a virtual function.

Parameters:
derived1_hThe object
Returns:
Return code

Definition at line 288 of file derived1.c.

derived1_handle derived1_new1 ( void  )

Create a new derived1 object.

Returns:
The object or NULL if creation failed

Definition at line 648 of file derived1.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines