Code Search for Developers
 
 
  

code_norme.cpp from osgDesigner at Krugle


Show code_norme.cpp syntax highlighted

/*
** This software has been written in EPITECH <http://www.epitech.net>
** EPITECH is computer science school in Paris - FRANCE -
** under the direction of Flavien Astraud <http://www.epita.fr/~flav>.
** and Jerome Landrieu.
**
*/


/***************************************************************************
 *   Copyright (C) $YEAR$ by $AUTHOR$   *
 *   $EMAIL$   *
 *                                                                         *
 *   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, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/


/*
** author   name
** 
** 
** 
*/


#ifndef __NOMDUHEADERENMAJUSCULE_H__
#define __NOMDUHEADERENMAJUSCULE_H__ 1


// ** les include system en premier (si possible)
#include <iostream>


// ** les include personnel
#include "myHeader.h"


class classe1;
class classe2;

namespace nomdunamespace
{
    class CnomDeLaClasse
    {
        public:

            // ** constructor / destructor ** //
            CNomDeLaClasse();
            ~CNomDeLaClasse();

            // ** accessor ** //
            float               getFloat() const;
            bool                isValid() const;
            bool                havChild() const;

            // ** modificator ** //
            void		        setFloat(float const val);
            void		        setClasse1(Classe1 const& classe);
            
            
        protected:

        private:
	       
            static int          s_valInt;
            float               _valFloat;
            classe1*            _valInt;
    };  

  std::ostream& operator <<(std::ostream& output, CNomDeLaClasse classe)
  {
    return (output);
  };

}

#endif // ** __NOMDUHEADERENMAJUSCULE_H__ ** //

///////////////////////////////////////////////////////////////////////////////
//////////////////////////////////END OF FILE//////////////////////////////////
///////////////////////////////////////////////////////////////////////////////


pour l'implementation :

#include "nomdufichier.h"



using namespace nomdunamespace;


// ** constructor / destructor ** //
CNomDeLaClasse::CNomDeLaClasse()
:   _valFloat(0),
    _valInt(0)
{}
CNomDeLaClasse::~CNomDeLaClasse()
{}

// ** accessor ** //
float               CNomDeLaClasse::getFloat() const
bool                CNomDeLaClasse::isValid() const
bool                CNomDeLaClasse::havChild() const

// ** modificator ** //
void                CNomDeLaClasse::setFloat(float const val)
void                CNomDeLaClasse::setClasse1(Classe1 const& classe)
{
    if (!isValid()) return;
    
    
    unTruc();
    leTrucQuiSuitEtQuiAUnRapport();
    
    
    unNouveauTruc();

}




See more files for this project here

osgDesigner

osgDesigner is a graphical tool used to modify an OpenSceneGraph (OSG) scene using the osgIntrospection framework. OpenSceneGraph developpers will be able to extend osgDesigner at need using (editor | render | osgIntrospection wrapper) plugin system.

Project homepage: http://sourceforge.net/projects/osgdesigner
Programming language(s): C++,Shell Script
License: other

  UML/
    futur_osgDesigner_DiagrammeDeClasse.zargo
  Doxyfile
  Feature.txt
  cdcf.txt
  code_Norme.txt
  code_norme.cpp