Changeset 52 for sources/src/sc_event.h


Ignore:
Timestamp:
Jan 22, 2013, 4:23:22 PM (11 years ago)
Author:
meunier
Message:

Code formatting in all source files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_event.h

    r31 r52  
    1414
    1515#include "sc_fwd.h"
     16
    1617#include <iostream>
    1718
     
    1920
    2021class sc_event {
    21 public : typedef enum { POS, NEG, VAL } flag_t;
    22 private:
    23         const sc_interface   &interface;
    24         flag_t flag;
    25 public:
    26         bool pos () const;
    27   sc_event (const sc_interface &, flag_t);
    28   ~sc_event ();
     22    public :
     23    typedef enum { POS, NEG, VAL } flag_t;
    2924
    30   // methods
    31   const sc_interface&  get_interface() const { return interface;}; // CASC specific
    32   flag_t              get_flag () const { return flag;}; // CASC specific
    33  
    34   // operators
     25    private:
     26    const sc_interface & interface;
     27    flag_t flag;
    3528
    36   friend std::ostream& operator << (std::ostream &, const sc_event &);
    37        
    38   sc_event ();
    39         /*
    40         // LRM
    41   sc_event ();
    42 private:
    43   // disabled
    44   sc_event (const sc_event &);
    45   sc_event& operator = (const sc_event&); 
    46         */
     29    public:
     30    bool pos() const;
     31    sc_event(const sc_interface &, flag_t);
     32    ~sc_event();
     33
     34    // methods
     35    const sc_interface & get_interface() const {
     36        return interface;
     37    } // CASC specific
     38    flag_t get_flag () const {
     39        return flag;
     40    } // CASC specific
     41
     42    // operators
     43
     44    friend std::ostream & operator << (std::ostream &, const sc_event &);
     45
     46    sc_event ();
     47
    4748};
    4849
     
    5051
    5152#endif /* __SC_EVENT_H__ */
     53
     54/*
     55# Local Variables:
     56# tab-width: 4;
     57# c-basic-offset: 4;
     58# c-file-offsets:((innamespace . 0)(inline-open . 0));
     59# indent-tabs-mode: nil;
     60# End:
     61#
     62# vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
     63*/
     64
Note: See TracChangeset for help on using the changeset viewer.