Classes | Defines | Typedefs | Functions
derived2.c File Reference
#include "derived2.h"
#include "derived1_friend.h"

Go to the source code of this file.

Classes

struct  derived2_st_

Defines

#define DERIVED2_STR_SIZE   256

Typedefs

typedef struct derived2_st_ derived2_st

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 implements a class that inherits from derived1.

Definition in file derived2.c.


Define Documentation

#define DERIVED2_STR_SIZE   256

Size for this object to use for base1_string_size_fn

Definition at line 28 of file derived2.c.


Typedef Documentation

typedef struct derived2_st_ derived2_st

Private data for this class


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