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.

46 lines
1.5 KiB

  1. /*---------------------------------------------------------------------------
  2. File: RecNode.hpp
  3. Comments: Definition of Membership node object.
  4. (c) Copyright 1999, Mission Critical Software, Inc., All Rights Reserved
  5. Proprietary and confidential to Mission Critical Software, Inc.
  6. REVISION LOG ENTRY
  7. Revision By: Sham Chauthani
  8. Revised on 02/15/99 11:18:21
  9. ---------------------------------------------------------------------------
  10. */
  11. // AcctRepl.h : Declaration of the CAcctRepl
  12. #ifndef __RECNODE_HPP_
  13. #define __RECNODE_HPP_
  14. #include "WorkObj.h"
  15. #include "TARNode.hpp"
  16. class TRecordNode:public TNode
  17. {
  18. _bstr_t sMember;
  19. _bstr_t sMemberSam;
  20. _bstr_t sDN;
  21. TAcctReplNode * pNode;
  22. BOOL bMemberMoved;
  23. public:
  24. TRecordNode() { pNode = NULL; bMemberMoved = FALSE; }
  25. const WCHAR * GetMember() const { return (WCHAR const *)sMember; }
  26. const WCHAR * GetMemberSam() const { return (WCHAR const *)sMemberSam; }
  27. const WCHAR * GetDN() const { return (WCHAR const *)sDN; }
  28. TAcctReplNode * GetARNode() const { return pNode; }
  29. BOOL IsMemberMoved() { return bMemberMoved; }
  30. void SetMember(const WCHAR * pMember) { sMember = pMember; }
  31. void SetMemberSam(const WCHAR * pMemberSam) { sMemberSam = pMemberSam; }
  32. void SetDN(const WCHAR * pDN) { sDN = pDN; }
  33. void SetARNode(TAcctReplNode * p) { pNode = p; }
  34. void SetMemberMoved(BOOL bVal = TRUE) { bMemberMoved = bVal; }
  35. };
  36. #endif