// ////////////////////////////////////////////////////////////////////////////
bool SubjectNameFlat::IsReplyName() const
{
	char subject_name[MaxSubjectSize + 1];

	return(IsFullName() &&
		(strlen(ToString(subject_name)) <= MaxReplySubjectSize));
}
// ////////////////////////////////////////////////////////////////////////////
void SubjectNameFlat::CheckFullName()
{
	if (!IsFullName()) {
		std::ostringstream error_text;
		error_text << "Subject name '" << ToString() <<
			"' is not a fully-qualified subject name.";
		//	CODE NOTE: Should throw RvBadSubjectException
		throw RvException(error_text);
	}
}
//------------------------------------------------------------------------------------------------------------
//
// 函数说明
//
//
// 参数说明
//
//
// 返回值
//
//
// 其他
//    无
//
//------------------------------------------------------------------------------------------------------------
void GetFullPath(char *dName, const char *sName)
{
    char Buffer[MAX_PATH];

	if(IsFullName(sName))
	{
	    strcpy(dName, sName);
		return ;
	}

   /* Get the current working directory: */
   if(getcwd(Buffer, MAX_PATH ) == NULL)
   {
        perror( "getcwd error" );
        return ;
   }
   sprintf(dName, "%s/%s", Buffer, sName);
}