File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/settingsgen/settingsgen.cpp
Show inline comments
 
@@ -143,25 +143,25 @@ public:
 

	
 
private:
 
	/**
 
	 * Does the buffer have room without adding a new #OutputBuffer block?
 
	 * @return \c true if room is available, else \c false.
 
	 */
 
	bool BufferHasRoom() const
 
	{
 
		uint num_blocks = this->output_buffer.size();
 
		return num_blocks > 0 && this->output_buffer[num_blocks - 1].HasRoom();
 
	}
 

	
 
	typedef SmallVector<OutputBuffer, 2> OutputBufferVector; ///< Vector type for output buffers.
 
	typedef std::vector<OutputBuffer> OutputBufferVector; ///< Vector type for output buffers.
 
	OutputBufferVector output_buffer; ///< Vector of blocks containing the stored output.
 
};
 

	
 

	
 
/** Derived class for loading INI files without going through Fio stuff. */
 
struct SettingsIniFile : IniLoadFile {
 
	/**
 
	 * Construct a new ini loader.
 
	 * @param list_group_names A \c NULL terminated list with group names that should be loaded as lists instead of variables. @see IGT_LIST
 
	 * @param seq_group_names  A \c NULL terminated list with group names that should be loaded as lists of names. @see IGT_SEQUENCE
 
	 */
 
	SettingsIniFile(const char * const *list_group_names = NULL, const char * const *seq_group_names = NULL) :