policy_header.hh
//gets the header parameters from the binary representation
gets the header parameters from the binary representation
gets the header parameters from the binary representation
PolicyHeader(Binary &policyBinary) : policyBinary(policyBinary)
        {
            version = policyBinary.next(16);
            #if DEBUG_POLICY_GENERATION
                asString = string(RED) + uintToString(version, bitsForVersion) + RESET + asString;
                legend = string(RED) + "version " + RESET;
            #endif
        }
PolicyHeader ( Binary & policyBinary ) : policyBinary ( policyBinary ) { version = policyBinary . next ( 16 ) ; #if DEBUG_POLICY_GENERATION asString = string ( RED ) + uintToString ( version , bitsForVersion ) + RESET + asString ; legend = string ( RED ) + " " + RESET ; #endif }
gets the header parameters from the binary representation
gets the header parameters from the binary representation
//first get the version