E D R , A S I H C RSS

Full text search for "OpenCommand"

Open Command


Search BackLinks only
Display context of search results
Case-sensitive searching
  • Gof/Command . . . . 11 matches
         OpenCommand의 Execute operation은 다르다. OpenCommand는 사용자에게 문서 이름을 물은뒤, 대응하는 Document 객체를 만들고, 해당 문서를 여는 어플리케이션에 문서를 추가한 뒤 (MDI를 생각할것) 문서를 연다.
          * ConcreteCommand (PasteCommand, OpenCommand)
         여기 보여지는 C++ code는 Motivation 섹션의 Command 크래스에 대한 대강의 구현이다. 우리는 OpenCommand, PasteCommand 와 MacroCommand를 정의할 것이다. 먼저 추상 Commmand class 는 이렇다.
         OpenCommand는 유저로부터 제공된 이름의 문서를 연다. OpenCommand는 반드시 Constructor에 Application 객체를 넘겨받아야 한다. AskUser 는 유저에게 열어야 할 문서의 이름을 묻는 루틴을 구현한다.
         class OpenCommand : public Command {
          OpenCommand (Application*);
         OpenCommand::OpenCommand (Application* a) {
         void OpenCommand::Execute () {
Found 1 matching page out of 7544 total pages (5000 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 2.3045 sec