Commit b3bc5fe5 authored by Andrea Bulgarelli's avatar Andrea Bulgarelli
Browse files

Added exception mamangement in SDFRBBlock->setNumberOfRealDataBlock

parent 398b0ec0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@

#define ARCH_BIGENDIAN 0

//#define NOFIELDSNAME

//#define PRINTDEBUG(strprint) if(DEBUGMODE) cout << strprint << endl;
#define PRINTDEBUG(strprint) if(DEBUGMODE) cout <<  strprint << endl;
#define PRINTERROR(strprint) if(ERRORMODE) cerr <<  strprint << endl;
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ class SDFRBBlock : public PartOfPacket
    //## determinated type is repeated) for each type of rblock present.
    //## \param number The number of blocks
    //## \param rBlockIndex The number of rblock
    virtual void setNumberOfRealDataBlock(word number, word rblockIndex = 0);
    virtual void setNumberOfRealDataBlock(word number, word rblockIndex = 0) throw (PacketException*);

    //##Documentation
    //## Get the number of blocks (the number of times that a block of a
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ class SDFRBlock : public SourceDataField
    //## determinated type is repeated) for each type of rblock present.
    //## \param number The number of blocks
    //## \param rBlockIndex The number of rblock
    void setNumberOfRealDataBlock(word number, word rblockIndex = 0);
    void setNumberOfRealDataBlock(word number, word rblockIndex = 0) throw (PacketException*);

    //##Documentation
    //## Get the number of blocks (the number of times that a block of a
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ class SourceDataField : public PartOfPacket
        //##ModelId=3C9AEC0A01AD
        //##Documentation
        //## Sets the number of real data block for the current packet.
        virtual void setNumberOfRealDataBlock(word value, word rblockIndex = 0);
        virtual void setNumberOfRealDataBlock(word value, word rblockIndex = 0) throw (PacketException*);

        //##ModelId=3C9AEC0B006F
        virtual word getSubFromNBlock(word rblockIndex = 0);

lib/libpacket.a

deleted100644 → 0
−2.19 MiB

File deleted.

Loading