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.

50 lines
726 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: optionval.inl
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. inline
  11. const CLString &
  12. CLocOptionVal::GetName(void)
  13. const
  14. {
  15. return m_strName;
  16. }
  17. inline
  18. const CLocVariant &
  19. CLocOptionVal::GetValue(void)
  20. const
  21. {
  22. return m_lvValue;
  23. }
  24. inline
  25. void
  26. CLocOptionVal::SetName(
  27. const CLString &strName)
  28. {
  29. m_strName = strName;
  30. }
  31. inline
  32. void
  33. CLocOptionVal::SetValue(
  34. const CLocVariant &lvValue)
  35. {
  36. m_lvValue = lvValue;
  37. LTASSERTONLY(AssertValid());
  38. }