Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

mobject.h File Reference

More...

#include <stdio.h>
#include <iostream>
#include <typeinfo>
#include "magic/mdynamic.h"
#include "magic/mdebug.h"
#include "magic/mstring.h"
#include "magic/mmagisupp.h"

Go to the source code of this file.

Namespaces

namespace  MagiC
namespace  std

Compounds

class  Comparable
 An Object that can be compared, for sorting purposes, etc. More...

class  CPPModule
 A module. More...

class  Float
 Object-floating poing value. More...

class  Int
 Object-integer. More...

class  Object
class  Ref

Defines

#define BEGIN_NAMESPACE(ns)   namespace ns {

Functions

 BEGIN_NAMESPACE (MagiC)
int isnull (const Object &obj)
int compareComparable (const void *a, const void *b)


Detailed Description

Definition in file mobject.h.


Define Documentation

#define BEGIN_NAMESPACE ns       namespace ns {
 

This file is part of the MagiC++ library.

* * Copyright (C) 1998-2002 Marko Grönroos <magi@iki.fi> * *

* This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; see the file COPYING.LIB. If * not, write to the Free Software Foundation, Inc., 59 Temple Place *

  • Suite 330, Boston, MA 02111-1307, USA. * *

Definition at line 36 of file mobject.h.


Function Documentation

BEGIN_NAMESPACE MagiC   
 

This file is part of the MagiC++ library.

* * Copyright (C) 1998-2002 Marko Grönroos <magi@iki.fi> * *

* This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; see the file COPYING.LIB. If * not, write to the Free Software Foundation, Inc., 59 Temple Place *

  • Suite 330, Boston, MA 02111-1307, USA. * *

int compareComparable const void *    a,
const void *    b
 

Callback function for running qsort...

Definition at line 357 of file mobject.cc.

int isnull const Object &    obj [inline]
 

Returns 1 (true) if the given object reference is NULL, 0 if not.

Yes, it's not strictly "good C++" to handle references like they were pointers. But, useful nevertheless.

Definition at line 72 of file mobject.h.


Generated on Thu Feb 10 20:06:43 2005 for LibMagiC by doxygen1.2.18