IInputFiled.cpp 654 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #include "StdAfx.h"
  2. #include "IInputFiled.h"
  3. CInputFiled::CInputFiled( CString filed_name,CString filed_value,INPUTFILEDTYPE type /*= INPUTFILEDTYPE:VALUE*/ )
  4. {
  5. m_filed_name = filed_name;
  6. m_filed_value = filed_value;
  7. m_type = type;
  8. }
  9. CInputFiled::~CInputFiled(void)
  10. {
  11. }
  12. INPUTFILEDTYPE CInputFiled::GetType()
  13. {
  14. return m_type;
  15. }
  16. unsigned long CInputFiled::DataSize()
  17. {
  18. return 0;
  19. }
  20. CString CInputFiled::GetFiledName()
  21. {
  22. return m_filed_name;
  23. }
  24. CString CInputFiled::GetFiledValue()
  25. {
  26. return m_filed_value;
  27. }
  28. void CInputFiled::Open()
  29. {
  30. }
  31. void CInputFiled::Close()
  32. {
  33. }
  34. int CInputFiled::Read( void* buffer,int buffer_size )
  35. {
  36. return 0;
  37. }