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.

52 lines
549 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. OPTIONVAL.INL
  5. History:
  6. --*/
  7. inline
  8. const CLString &
  9. CLocOptionVal::GetName(void)
  10. const
  11. {
  12. return m_strName;
  13. }
  14. inline
  15. const CLocVariant &
  16. CLocOptionVal::GetValue(void)
  17. const
  18. {
  19. return m_lvValue;
  20. }
  21. inline
  22. void
  23. CLocOptionVal::SetName(
  24. const CLString &strName)
  25. {
  26. m_strName = strName;
  27. }
  28. inline
  29. void
  30. CLocOptionVal::SetValue(
  31. const CLocVariant &lvValue)
  32. {
  33. m_lvValue = lvValue;
  34. LTASSERTONLY(AssertValid());
  35. }