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

Go to the source code of this file.

Typedefs

typedef struct derived2_st_derived2_handle

Functions

derived1_handle derived2_cast_to_derived1 (derived2_handle derived2_h)
derived2_handle derived2_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 derived2 class, which inherits from derived2.

Definition in file derived2.h.


Typedef Documentation

typedef struct derived2_st_* derived2_handle

Opaque pointer to reference instances of this class

Definition at line 32 of file derived2.h.


Function Documentation

derived1_handle derived2_cast_to_derived1 ( derived2_handle  derived2_h)

Cast the derived2 object to derived1.

Parameters:
derived2_hThe derived2 object
Returns:
The derived1 object

Definition at line 252 of file derived2.c.

derived2_handle derived2_new1 ( void  )

Create a new derived2 object.

Returns:
The object or NULL if creation failed

Definition at line 302 of file derived2.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines