src/Generic/PropTree/expanders/AcronymPeriodDeleter.cpp
// note this will return true for an empty string

note this will return true for an empty string
note this will return true for an empty string
bool AcronymPeriodDeleter::isAllCapsAndPeriods(const std::wstring& word) {
	using namespace std;
	BOOST_FOREACH(const wchar_t c, word) {
		if (c!='.' && !isupper(c)) {
			return false;
		}
	}
	return true;
}
bool AcronymPeriodDeleter :: isAllCapsAndPeriods ( const std :: wstring & word ) { using namespace std ; BOOST_FOREACH ( const wchar_t c , word ) { if ( c != ' ' && ! isupper ( c ) ) { return false ; } } return true ; }
note this will return true for an empty string
note this will return true for an empty string