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.

111 lines
4.2 KiB

  1. // KPCont.h: interface declarations for CContainer and CKeyPair.
  2. //
  3. // (c) Copyright Schlumberger Technology Corp., unpublished work, created
  4. // 1999. This computer program includes Confidential, Proprietary
  5. // Information and is a Trade Secret of Schlumberger Technology Corp. All
  6. // use, disclosure, and/or reproduction is prohibited unless authorized
  7. // in writing. All Rights Reserved.
  8. //////////////////////////////////////////////////////////////////////
  9. // Note: This file should only be included by the CCI, not directly
  10. // by the client.
  11. // CContainer and CKeyPair are declared here to break the circular
  12. // dependency between their abstract versions.
  13. #if !defined(SLBCCI_KPCONT_H)
  14. #define SLBCCI_KPCONT_H
  15. namespace cci
  16. {
  17. class CAbstractContainer;
  18. class CAbstractKeyPair;
  19. class CContainer
  20. : public slbRefCnt::RCPtr<CAbstractContainer,
  21. slbRefCnt::DeepComparator<CAbstractContainer> >
  22. {
  23. public:
  24. // Types
  25. // C'tors/D'tors
  26. CContainer(ValueType *p = 0);
  27. explicit
  28. CContainer(CCard const &rhcard);
  29. // Operators
  30. // Operations
  31. // Access
  32. // Predicates
  33. protected:
  34. // Types
  35. // C'tors/D'tors
  36. // Operators
  37. // Operations
  38. // Access
  39. // Predicates
  40. // Variables
  41. private:
  42. // Types
  43. typedef slbRefCnt::RCPtr<ValueType,
  44. slbRefCnt::DeepComparator<ValueType> > SuperClass;
  45. // C'tors/D'tors
  46. // Operators
  47. // Operations
  48. // Access
  49. // Predicates
  50. // Variables
  51. };
  52. class CKeyPair
  53. : public slbRefCnt::RCPtr<CAbstractKeyPair,
  54. slbRefCnt::DeepComparator<CAbstractKeyPair> >
  55. {
  56. public:
  57. // Types
  58. // C'tors/D'tors
  59. CKeyPair(ValueType *p = 0);
  60. CKeyPair(CCard const &rhcard,
  61. CContainer const &rhcont,
  62. KeySpec kp);
  63. // Operators
  64. // Operations
  65. // Access
  66. // Predicates
  67. protected:
  68. // Types
  69. // C'tors/D'tors
  70. // Operators
  71. // Operations
  72. // Access
  73. // Predicates
  74. // Variables
  75. private:
  76. // Types
  77. typedef slbRefCnt::RCPtr<ValueType,
  78. slbRefCnt::DeepComparator<ValueType> > SuperClass;
  79. // C'tors/D'tors
  80. // Operators
  81. // Operations
  82. // Access
  83. // Predicates
  84. // Variables
  85. };
  86. } // namespace cci
  87. #endif // !defined(SLBCCI_KPCONT_H)