secureswitools/swisistools/source/sisxlibrary/fieldroot.h
changeset 26 04d4a7bbc3e0
parent 0 ba25891c3a9e
equal deleted inserted replaced
25:98b66e4fb0be 26:04d4a7bbc3e0
   211 	/**
   211 	/**
   212 	 * Adds the write the package details into the stream.
   212 	 * Adds the write the package details into the stream.
   213 	 * @param aStream - Stream in which the package entries need to be written.
   213 	 * @param aStream - Stream in which the package entries need to be written.
   214 	 * @param aVerbose - If this option is set then detail description of pkg
   214 	 * @param aVerbose - If this option is set then detail description of pkg
   215 	 * 			will be written into the stream.
   215 	 * 			will be written into the stream.
   216 	 */
   216 	 * @param aCompatible - Flag to notify AddPackageEntry that Dumpsis works in the original,compatible mode
   217 	virtual void AddPackageEntry(std::wostream& aStream, bool aVerbose) const;
   217 	 * or in the new way.
       
   218 	 */
       
   219 	virtual void AddPackageEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const;
       
   220 	/**
       
   221 	 * Adds the write the iby file details into the stream.
       
   222 	 * @param aStream - Stream in which the iby entry need to be written.
       
   223 	 * @param aVerbose - If this option is set then detail description of iby
       
   224 	 * 			will be written into the stream.
       
   225 	 * @param aCompatible - Flag to notify AddIbyEntry that Dumpsis works in the original,compatible mode
       
   226 	 * or in the new way.
       
   227 	 */
       
   228 	virtual void AddIbyEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const;
   218 	/**
   229 	/**
   219 	 * Class name
   230 	 * Class name
   220 	 */
   231 	 */
   221 	virtual std::string Name () const;
   232 	virtual std::string Name () const;
   222 	/**
   233 	/**
   299 	static unsigned iBugRepeat;
   310 	static unsigned iBugRepeat;
   300 	static unsigned iBugRepeatCountdown;
   311 	static unsigned iBugRepeatCountdown;
   301 #endif // GENERATE_ERRORS
   312 #endif // GENERATE_ERRORS
   302 	};
   313 	};
   303 
   314 
   304 
   315 //	
   305 inline void CSISFieldRoot::AddPackageEntry(std::wostream& aStream, bool aVerbose) const
   316 // Default AddPackageEntry function.
       
   317 // Might be overridden by sub-classes
       
   318 //
       
   319 inline void CSISFieldRoot::AddPackageEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const
   306 	{
   320 	{
   307 	(void)aStream;
   321 	(void)aStream;
   308 	(void)aVerbose;
   322 	(void)aVerbose;
       
   323 	(void)aCompatible;
       
   324 	}
       
   325 //	
       
   326 // Default AddIbyEntry function.
       
   327 // Might be overridden by sub-classes
       
   328 //
       
   329 inline void CSISFieldRoot::AddIbyEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const
       
   330 	{
       
   331 	(void)aStream;
       
   332 	(void)aVerbose;
       
   333 	(void)aCompatible;
   309 	}
   334 	}
   310 
   335 
   311 inline void CSISFieldRoot::InitInstance ()
   336 inline void CSISFieldRoot::InitInstance ()
   312 	{
   337 	{
   313 	srand (1);
   338 	srand (1);