Ignore:
Timestamp:
Feb 26, 2010 12:27:59 PM (10 years ago)
Author:
mjs
Message:

Formatted .cpp, .hpp, .c, .h files with "astyle -A4 -p". This matches the formatting used in the grand CBC reorganization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/MyEventHandler.hpp

    r1370 r1525  
    77#include "ClpEventHandler.hpp"
    88
    9 /** This is so user can trap events and do useful stuff. 
     9/** This is so user can trap events and do useful stuff.
    1010    This is used in Clp/Test/unitTest.cpp
    1111
    12     ClpSimplex model_ is available as well as anything else you care 
     12    ClpSimplex model_ is available as well as anything else you care
    1313    to pass in
    1414*/
    1515
    1616class MyEventHandler : public ClpEventHandler {
    17  
     17
    1818public:
    19   /**@name Overrides */
    20   //@{
    21   virtual int event(Event whichEvent);
    22   //@}
     19     /**@name Overrides */
     20     //@{
     21     virtual int event(Event whichEvent);
     22     //@}
    2323
    24   /**@name Constructors, destructor etc*/
    25   //@{
    26   /** Default constructor. */
    27   MyEventHandler();
    28   /// Constructor with pointer to model (redundant as setEventHandler does)
    29   MyEventHandler(ClpSimplex * model);
    30   /** Destructor */
    31   virtual ~MyEventHandler();
    32   /** The copy constructor. */
    33   MyEventHandler(const MyEventHandler & rhs);
    34   /// Assignment
    35   MyEventHandler& operator=(const MyEventHandler & rhs);
    36   /// Clone
    37   virtual ClpEventHandler * clone() const ;
    38   //@}
    39    
    40    
     24     /**@name Constructors, destructor etc*/
     25     //@{
     26     /** Default constructor. */
     27     MyEventHandler();
     28     /// Constructor with pointer to model (redundant as setEventHandler does)
     29     MyEventHandler(ClpSimplex * model);
     30     /** Destructor */
     31     virtual ~MyEventHandler();
     32     /** The copy constructor. */
     33     MyEventHandler(const MyEventHandler & rhs);
     34     /// Assignment
     35     MyEventHandler& operator=(const MyEventHandler & rhs);
     36     /// Clone
     37     virtual ClpEventHandler * clone() const ;
     38     //@}
     39
     40
    4141protected:
    42   // data goes here
     42     // data goes here
    4343};
    4444
Note: See TracChangeset for help on using the changeset viewer.