Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1997
  6. //
  7. // File: expand.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //
  11. // expand.h: Declarations for network CI expansion
  12. //
  13. #ifndef _EXPAND_H_
  14. #define _EXPAND_H_
  15. #include "gmobj.h"
  16. ////////////////////////////////////////////////////////////////////
  17. // class GOBJMBN_MBNET_EXPANDER:
  18. // An MBNET modifier which performs CI expansion on a network
  19. ////////////////////////////////////////////////////////////////////
  20. class GOBJMBN_MBNET_EXPANDER : public MBNET_MODIFIER
  21. {
  22. public:
  23. GOBJMBN_MBNET_EXPANDER ( MBNET & model );
  24. virtual ~ GOBJMBN_MBNET_EXPANDER ();
  25. virtual INT EType () const
  26. { return EBNO_MBNET_EXPANDER; }
  27. // Perform any creation-time operations
  28. void Create ();
  29. // Perform any special destruction
  30. void Destroy ();
  31. // Return true if no modidfications were performed.
  32. bool BMoot ();
  33. protected:
  34. PROPMGR _propmgr;
  35. int _cNodesExpanded;
  36. int _cNodesCreated;
  37. int _cArcsCreated;
  38. protected:
  39. void Expand ( GNODEMBND & gndd );
  40. static const VLREAL * PVlrLeak ( const BNDIST & bndist );
  41. };
  42. #endif // _EXPAND_H_